swing for Java 1.1.6 or JDK 2.0

swing for Java 1.1.6 or JDK 2.0

Post by Hemant Sha » Thu, 24 Jun 1999 04:00:00



Folks,

  Where can I get swing for JDK 1.1.6 ?

  I have downloaded JDK 1.2.a but I am not able to run it.

  I installed it in my home directory, and tried the verification test
  according to README file and I get following errors:

   unset LIBPATH
   unset CLASSPATH
   unset LD_LIBRARY_PATH
   unset JAVA_COMPILER
   unset JAVA_HOME
   cd /home/shahhe/J1.2.a/bin

./java -fullversion
+ unset ENV
+ + whence ./java
PRG=/home/shahhe/J1.2.a/bin/./java
+ 1> /dev/null 2>& 1
+ + /usr/bin/basename ./java
progname=java
+ proc=ppc
+ + /usr/bin/dirname /home/shahhe/J1.2.a/bin/./java
APPHOME=/home/shahhe/J1.2.a/bin/./..
+ [ -h /home/shahhe/J1.2.a/bin/./java ]
+ + /usr/bin/ls -ld /home/shahhe/J1.2.a/bin/./java
ls=lrwxrwxrwx   1 root     users         13 Jun  8 15:28 /home/shahhe/J1.2.a/bin/./java -> .java_wrapper
+ + /usr/bin/expr lrwxrwxrwx   1 root     users         13 Jun  8 15:28 /home/shahhe/J1.2.a/bin/./java -> .java_wrapper : ^.*-> \(.*\)$
link=.java_wrapper
+ /usr/bin/expr .java_wrapper : ^/
+ 1> /dev/null
+ + /usr/bin/dirname /home/shahhe/J1.2.a/bin/./java
prg=/home/shahhe/J1.2.a/bin/./.java_wrapper
+ + whence /home/shahhe/J1.2.a/bin/./.java_wrapper
PRG=/home/shahhe/J1.2.a/bin/./.java_wrapper
+ 1> /dev/null 2>& 1
+ + /usr/bin/dirname /home/shahhe/J1.2.a/bin/./.java_wrapper
APPHOME=/home/shahhe/J1.2.a/bin/./..
+ [ -h /home/shahhe/J1.2.a/bin/./.java_wrapper ]
+ export APPHOME
+ JREHOME=/home/shahhe/J1.2.a/bin/./../jre
+ unset jre
+ [ -f /home/shahhe/J1.2.a/bin/./../jre/lib/ppc/libjava.a ]
+ [ -f /home/shahhe/J1.2.a/bin/./../lib/ppc/libjava.a ]
+ jre=/home/shahhe/J1.2.a/bin/./..
+ [ x/home/shahhe/J1.2.a/bin/./.. = x ]
+ unset vmtype
+ unset ttype
+ DEFAULT_THREADS_FLAGS=native
+ [ x-fullversion = x-hotspot ]
+ [ x-fullversion = x-classic ]
+ [ x-fullversion = x-green ]
+ [ x-fullversion = x-native ]
+ [ -d /home/shahhe/J1.2.a/bin/./../lib/ppc/hotspot ]
+ vmtype=classic
+ [[ native = native ]]
+ ttype=native_threads
+ [ classic = classic ]
+ [[ native_threads = green_threads ]]
+ _JVM_THREADS_TYPE=native_threads
+ export _JVM_THREADS_TYPE
+ + echo :
+ awk -v RS=: -v FS=[/ \n]*$ $1!="/lib" && $1!="/usr/lib" &&
          $1!="/usr/ccs/lib" && $1 != "" {printf ":%s",$1}
LIBPATH=/home/shahhe/J1.2.a/bin/./../lib/ppc/native_threads:/home/shahhe/J1.2.a/bin/./../lib/ppc/classic:/home/shahhe/J1.2.a/bin/./../lib/ppc
+ export LIBPATH
+ prog=/home/shahhe/J1.2.a/bin/./../bin/ppc/native_threads/java
+ [ -x /home/shahhe/J1.2.a/bin/./../bin/ppc/native_threads/java ]
+ exec /home/shahhe/J1.2.a/bin/./../bin/ppc/native_threads/java -fullversion
Could not load program /home/shahhe/J1.2.a/bin/./../bin/ppc/native_threads/java
Member shr_comm.o not found or file not an archive
Member shr_comm.o not found or file not an archive
Could not load library libpthreads.a[shr_comm.o]
Error was: No such file or directory

I checked the directories in LIBPATH and every thing looks O.K.

[shahhe]/home/shahhe/J1.2.a/bin>
-> ls  -l /home/shahhe/J1.2.a/bin/./../lib/ppc/native_threads  
total 95
-rwxr-xr-x   1 shahhe   users      42698 Jan 19 11:57 libhpi.a
-rwxr-xr-x   1 shahhe   users      53322 Jan 19 11:57 libhpi_g.a

[shahhe]/home/shahhe/J1.2.a/bin>
-> ls -l /home/shahhe/J1.2.a/bin/./../lib/ppc/classic
total 1243
-rw-r--r--   1 shahhe   users        637 Dec 22 1998  Xusage.txt
-rwxr-xr-x   1 shahhe   users     529802 Jan 19 11:57 libjvm.a
-rwxr-xr-x   1 shahhe   users     740593 Jan 19 11:57 libjvm_g.a

[shahhe]/home/shahhe/J1.2.a/bin>
-> ls -l /home/shahhe/J1.2.a/bin/./../lib/ppc
total 6819
drwxr-sr-x   2 shahhe   users         96 Jun  8 15:28 classic
-rwxr-xr-x   1 shahhe   users      37950 Jan 19 11:56 libagent.a
-rwxr-xr-x   1 shahhe   users      39915 Jan 19 11:56 libagent_g.a
-rwxr-xr-x   1 shahhe   users    1082918 Jan 19 11:56 libawt.a
-rwxr-xr-x   1 shahhe   users    1734730 Jan 19 11:56 libawt_g.a
-rwxr-xr-x   1 shahhe   users     310310 Jan 19 11:56 libcmm.a
-rwxr-xr-x   1 shahhe   users     407054 Jan 19 11:56 libcmm_g.a
-rwxr-xr-x   1 shahhe   users     201000 Jan 19 11:56 libdcpr.a
-rwxr-xr-x   1 shahhe   users     238952 Jan 19 11:56 libdcpr_g.a
-rwxr-xr-x   1 shahhe   users     566398 Jan 19 11:56 libfontmanager.a
-rwxr-xr-x   1 shahhe   users     630962 Jan 19 11:56 libfontmanager_g.a
-rwxr-xr-x   1 shahhe   users     227075 Jan 19 11:56 libjava.a
-rwxr-xr-x   1 shahhe   users     259430 Jan 19 11:56 libjava_g.a
-rwxr-xr-x   1 shahhe   users     211297 Jan 19 11:56 libjpeg.a
-rwxr-xr-x   1 shahhe   users     243123 Jan 19 11:56 libjpeg_g.a
-rwxr-xr-x   1 shahhe   users      55297 Jan 19 11:56 libmath.a
-rwxr-xr-x   1 shahhe   users      63467 Jan 19 11:56 libmath_g.a
-rwxr-xr-x   1 shahhe   users     162803 Jan 19 11:56 libmlib_image.a
-rwxr-xr-x   1 shahhe   users     258379 Jan 19 11:56 libmlib_image_g.a
-rwxr-xr-x   1 shahhe   users      30823 Jan 19 11:56 libnet.a
-rwxr-xr-x   1 shahhe   users      30947 Jan 19 11:56 libnet_g.a
-rwxr-xr-x   1 shahhe   users      73042 Jan 19 11:56 libzip.a
-rwxr-xr-x   1 shahhe   users     102878 Jan 19 11:56 libzip_g.a
drwxr-sr-x   2 shahhe   users         96 Jun  8 15:28 native_threads

--
Hemant Shah                           /-------------------\    ^~~~~^

                                      |No place for wimps |   o|-OO-|o
TO REPLY, REMOVE NoJunkMail           |          -Dilbert |--- | () |
FROM MY E-MAIL ADDRESS.               \-------------------/    |    |
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind,                Above opinions are mine only.
it's backed up on tape somewhere.      Others can have their own.

 
 
 

1. Swing 1.1 differences between jdk-1.1 and jdk-1.2

So,

I finally managed to get jdk12-beta installed on my system (don't you
just love the ports system!); and I ran a couple of Swing programs,
including the SwingSet demo, to compare the differences.

The most obvious difference is the font display (spacing, especially),
which is quite significant. This is most obvious with the SwingSet demo,
on the "Plain Text" panel. Does anyone on the list have any config-tweaks
they can suggest so that Swing looks better under FreeBSD jdk-1.2?

Cheers.
--

----------------------------------------------------------------------
                                      Opportunities are seldom labeled


with "unsubscribe freebsd-java" in the body of the message

2. Load Balancing Support?

3. Java.swing and Java.awt

4. SUN User Groups

5. Toronto: Senior Java GUI Architect (up to 90K+options): Java w/GUI emphasis, OOA/OOD, Swing

6. Digital Signal Processing tool for Linux

7. Toronto: Senior Java GUI Eng. (up to 90K+options): Java w/GUI emphasis, OOA/OOD, Swing

8. Installing Linux 2.1 with a scsi controller and scsi hard drives

9. Upgraded port: Blackdown JDK 1.2.2 for Linux (java/linux-jdk)

10. Java JDK 1.2 libs with JDK 1.1 VM - or 1.2 version available?

11. jdk problems with swing applications

12. Linux, JDK 1.1.3, Swing, Lesstif

13. JDK 1.4.1: Swing warnings