java problem

From: Ebru.Tan@posta.mam.gov.tr
Date: Fri Feb 28 2003 - 02:26:21 EST


Hi gurus,
My problem is about java installation. The Operating System is Solaris 2.8.
and it has java 1.2. I think java 1.2 is default for solaris 2.8. Anyway, I
want to install a program which is run under java 1.1.4.
To do this, I download the j2sdk-1_4_1_01-solaris-sparcv9.tar.Z from
HYPERLINK "http://www.java.sun.com"www.java.sun.com site. and I did
installation steps.
uncompress j2sdk-1_4_1_01-solaris-sparcv9.tar.Z
tar xvf j2sdk-1_4_1_01-solaris-sparcv9.tar
and I obtained 3 directories. These are SUNWj3dmx, SUNWj3dvx, SUNWj3rtx.
and I installed thses
package pkgadd -d . SUNWj3dmx
package pkgadd -d . SUNWj3dvx
package pkgadd -d . SUNWj3rtx
Finally the j2se directory was created under /usr directory.
The file structure is below:
all the executable fles are under this directories./usr/j2se/bin/sparcv9
 
                   bin--->sparcv9--->butun executablar burada(java, jar,...)
 
usr-->j2se--->
                                bin-->sparcv9--->bazi exeler
                    jre----->
                                lib--->sparcv9--->libraryler
 
 when I run the java program from this directory /usr/j2se/bin/sparcv9
I get this message
opaque:ebru-11> pwd
/usr/j2se/bin/sparcv9
opaque:ebru-12> ./java
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
 
If you have any advices please tell me, because I need your helps.
Thank you
------------------------
  
Ebru TAN
E-Mail : ebru.tan@posta.mam.gov.tr
TUBITAK Marmara Research Center
Earth and Marine Sciences Research Institute
Pbox:21 41470 Gebze/KOCAELI

Is tel :+90 262 641 23 00 ext:4321
Is fax :+90 262 641 23 09

 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.427 / Virus Database: 240 - Release Date: 06.12.2002
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:54 EDT