Aug 13, 2005

        onlpc03,  Scientific Linux CERN 3 ��� JDK5.0 ��ƥ���
          		---  JDK 5.0 �Υƥ��ȼ¹� #1
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
               (http://www-online.kek.jp/~inoue/para-CAMAC/
                                   Work/onlpc03-JDK5-1.html)



                        �⥨�ͥ륮����®�︦�浡��
                            ��γ�Ҹ��ҳ˸����
                         ʪ��������饤�󥰥롼��
                                ��� ����

        ��Ū

	    onlpc03 �Dz�ư���Ƥ���  Scientific Linux CERN Release 3.0.5 ��� 
	    JDK 5.0 ��Ȥä� Web3���ץꥱ�������Υ���ѥ����Ԥ���


        ����

        (1). camac ����� Web3 �Υѥå�������Ÿ��
        (2). camac�ǥ��쥯�ȥ겼�Υե�����򥳥�ѥ���
        (3). Web�ǥ��쥯�ȥ겼�Υե�����򥳥�ѥ���



  --------------------------------------------------------------------

 (1). camac ����� Web3 �Υѥå�������Ÿ��

[onlpc03] /home/inoue > cat /etc/issue
Scientific Linux CERN Release 3.0.5 (SL)

[onlpc03] /home/inoue >

[onlpc03] /home/inoue/Web3 > pwd
/home/inoue/Web3
[onlpc03] /home/inoue/Web3 > tar xzf Web-Sep152004.tar.gz
[onlpc03] /home/inoue/Web3 >
[onlpc03] /home/inoue/Web3 > tar xzf camac.tar.gz
[onlpc03] /home/inoue/Web3 > ls -l
��� 68
-rw-r--r--    1 inoue    inoue       43466  8�� 12 16:17 Web-Sep152004.tar.gz
drwxrwxr-x    2 inoue    inoue        4096 12�� 19  2003 camac
-rw-r--r--    1 inoue    inoue       16163  8�� 12 16:27 camac.tar.gz
drwxr-xr-x    3 inoue    inoue        4096  9�� 15  2004 public_html
[onlpc03] /home/inoue/Web3 > 
[onlpc03] /home/inoue/Web3 > ls public_html
Client.class           Server.java            cam.java          web.sh
Client.java            ServerImpl.class       camac.c           web3-inoue.mem
ClientImpl.class       ServerImpl.java        camac.c-bak       web3.class
ClientImpl.java-bak    ServerImpl_Skel.class  camac.o           web3.html
ClientImpl_Skel.class  ServerImpl_Stub.class  libMyImpOfcam.so  web3.java
ClientImpl_Stub.class  cam.c                  pcc.h             web3.java-org
Makefile               cam.class              pcc.h-bak
Server.class           cam.h                  policy
[onlpc03] /home/inoue/Web3 >

[onlpc03] /home/inoue/Web3/camac > pwd
/home/inoue/Web3/camac 
[onlpc03] /home/inoue/Web3/camac > ls
Makefile  camlib.c     data_pattern.c  exam1.c  exam5.c       pcc.c
README    camlib.h     dec_cam.c       exam2.c  gen_cam.c     pcc.h
cam.c     camtest1c.c  dump_reg.c      exam3.c  get_cam.c     put_cam.c
camac.c   clr_fifo.c   exam0.c         exam4.c  get_camint.c  rst_cam.c
[onlpc03] /home/inoue/Web3/camac > 


 (2). camac�ǥ��쥯�ȥ겼�Υե�����򥳥�ѥ���

[onlpc03] /home/inoue/Web3/camac > make
gcc -O2 -Wall -c -D__KERNEL__ -DMODULE -Wall -I/usr/src/linux-2.4/include  pcc.c
gcc -O2 -c camac.c
gcc -O2 -c camlib.c
gcc -O2 -o gen_cam gen_cam.c camac.o
gcc -O2 -o dec_cam dec_cam.c camac.o
gcc -O2 -o dump_reg dump_reg.c camac.o
gcc -O2 -o exam0 exam0.c camac.o
gcc -O2 -o exam1 exam1.c data_pattern.c camac.o
gcc -O2 -o exam2 exam2.c data_pattern.c camac.o
gcc -O2 -o exam3 exam3.c data_pattern.c camac.o
gcc -O2 -o exam4 exam4.c data_pattern.c camac.o
gcc -O2 -o exam5 exam5.c data_pattern.c camac.o
gcc -O2 -o cam cam.c camac.o
gcc -O2 -o put_cam put_cam.c camac.o
gcc -O2 -o get_cam get_cam.c camac.o
gcc -O2 -o get_camint get_camint.c camac.o
gcc -O2 -o clr_fifo clr_fifo.c camac.o
gcc -O2 -o rst_cam rst_cam.c camac.o
gcc -O2 -o camtest1c camtest1c.c camlib.c camac.o
[onlpc03] /home/inoue/Web3/camac >


 (3). Web�ǥ��쥯�ȥ겼�Υե�����򥳥�ѥ���

	���͡�
	      JDK 5.0 �Ǥ����Ǥη������ꤵ��Ƥ��ʤ��ץ������򥳥�ѥ��뤹��ȡ�
	    �ٹ𤬽Ф롣  ���ΰ��������ݾڤ���Ƥ��ʤ��Ȥ�����̣�Ǥ��롣���ٹ𤬽�
	�������ս�� Generics ���б������Ƥ����С����˴ؤ��ư����ʥץ������ˤ���
	�������Ȥ��Ǥ��롣��������ܤ��ʤ��ޤޥ���ѥ��뤷�Ƥ��ޤ��ˤϡ����ץ����
	�����ˡ���С�������б��λ���򤹤뤳�Ȥǽ������뤳�Ȥ�Ǥ��롣�����Τ��
	�������ϰʲ��ΤȤ��ꡣ

                > javac -source 1.4 old-Sample.java

	    ���λ���򤹤�ȡ�JDK 1.4�Υ���ѥ����Ʊ��������Ԥ����ٹ�ϽФʤ���


[onlpc03] /home/inoue/Web3/public_html/Web > java -version
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode, sharing)
[onlpc03] /home/inoue/Web3/public_html/Web >

[onlpc03] /home/inoue/Web3/public_html/Web > pwd
/home/inoue/Web3/public_html/Web
[onlpc03] /home/inoue/Web3/public_html/Web > ls
Client.class           Server.java            cam.java          web.sh
Client.java            ServerImpl.class       camac.c           web3-inoue.mem
ClientImpl.class       ServerImpl.java        camac.c-bak       web3.class
ClientImpl.java-bak    ServerImpl_Skel.class  camac.o           web3.html
ClientImpl_Skel.class  ServerImpl_Stub.class  libMyImpOfcam.so  web3.java
ClientImpl_Stub.class  cam.c                  pcc.h             web3.java-org
Makefile               cam.class              pcc.h-bak
Server.class           cam.h                  policy
[onlpc03] /home/inoue/Web3/public_html/Web >
[onlpc03] /home/inoue/Web3/public_html/Web > make
make: `all' ���Ф��ƹԤ��٤����Ϥ���ޤ���
[onlpc03] /home/inoue/Web3/public_html/Web > make clean
rm -f *.class cam.h libMyImpOfcam.so *.o core *~
[onlpc03] /home/inoue/Web3/public_html/Web >
[onlpc03] /home/inoue/Web3/public_html/Web > ls
Client.java          cam.c        pcc.h-bak       web3.java
ClientImpl.java-bak  cam.java     policy          web3.java-org
Makefile             camac.c      web.sh
Server.java          camac.c-bak  web3-inoue.mem
ServerImpl.java      pcc.h        web3.html
[onlpc03] /home/inoue/Web3/public_html/Web >
[onlpc03] /home/inoue/Web3/public_html/Web > make
gcc -c camac.c
javac web3.java
javac cam.java
javah -jni cam
gcc -O -shared -I/usr/java/include -I/usr/java/include/linux cam.c camac.o -o libMyImpOfcam.so
javac ServerImpl.java
rmic ClientImpl
rmic ServerImpl
[onlpc03] /home/inoue/Web3/public_html/Web >
[onlpc03] /home/inoue/Web3/public_html/Web > ls -l
��� 172
-rw-rw-r--    1 inoue    inoue         116  8�� 13 10:10 Client.class
-rw-r--r--    1 inoue    inoue         262  8�� 23  2004 Client.java
-rw-rw-r--    1 inoue    inoue        3624  8�� 13 10:10 ClientImpl.class
-rw-r--r--    1 inoue    inoue       17458  7�� 30  2003 ClientImpl.java-bak
-rw-rw-r--    1 inoue    inoue         246  8�� 13 10:11 ClientImpl_Stub.class
-rw-r--r--    1 inoue    inoue        1629  8�� 12 16:23 Makefile
-rw-rw-r--    1 inoue    inoue         218  8�� 13 10:10 Server.class
-rw-r--r--    1 inoue    inoue         328  8�� 23  2004 Server.java
-rw-rw-r--    1 inoue    inoue        2626  8�� 13 10:11 ServerImpl.class
-rw-r--r--    1 inoue    inoue        3722  8�� 23  2004 ServerImpl.java
-rw-rw-r--    1 inoue    inoue        1888  8�� 13 10:11 ServerImpl_Stub.class
-rw-r--r--    1 inoue    inoue        2617  7�� 30  2003 cam.c
-rw-rw-r--    1 inoue    inoue         360  8�� 13 10:10 cam.class
-rw-rw-r--    1 inoue    inoue         414  8�� 13 10:10 cam.h
-rw-r--r--    1 inoue    inoue         792  7�� 30  2003 cam.java
lrwxrwxrwx    1 inoue    inoue          19  8�� 12 16:17 camac.c -> ../../camac/camac.c
-rw-r--r--    1 inoue    inoue       13325  7�� 30  2003 camac.c-bak
-rw-rw-r--    1 inoue    inoue        8620  8�� 13 10:10 camac.o
-rwxrwxr-x    1 inoue    inoue       14928  8�� 13 10:10 libMyImpOfcam.so
lrwxrwxrwx    1 inoue    inoue          17  8�� 12 16:17 pcc.h -> ../../camac/pcc.h
-rw-r--r--    1 inoue    inoue        6364  7�� 30  2003 pcc.h-bak
-rw-r--r--    1 inoue    inoue          81  7�� 30  2003 policy
-rwxr-xr-x    1 inoue    inoue         123  7�� 30  2003 web.sh
-rw-r--r--    1 inoue    inoue         186  7�� 30  2003 web3-inoue.mem
-rw-rw-r--    1 inoue    inoue        3941  8�� 13 10:10 web3.class
-rw-r--r--    1 inoue    inoue        2454  7�� 30  2003 web3.html
-rw-r--r--    1 inoue    inoue       12029  8�� 23  2004 web3.java
-rw-r--r--    1 inoue    inoue       11879  8��  1  2003 web3.java-org
[onlpc03] /home/inoue/Web3/public_html/Web >

	ok.  JDK 5.0 �ǡ�web3�ץ�����������˥���ѥ���Ǥ�����


	

---xxxx