Click to See Complete Forum and Search --> : Jre 1.4.0


alastairf
08-19-2002, 07:22 AM
I have installed jre in /usr/local/java. When I try and run java start, I get this message:;


java.lang.ClassNotFoundException: start
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:52)


Any ideas at what this means??

When I try and run java_vm start, in the same directroy I get this message:

java_vm: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory


HELP!!!!!

MkIII_Supra
08-19-2002, 12:23 PM
4 - Install Java 1.4 and get it to work

I install the non-rpm version of Java 1.4 into the /usr/java directory. That gives me a /usr/java/JDK1.4.0 directory. Set the group to the /usr/java/JDK1.4.0 directory recursivly to a group name of "java"/ (use chgrp to do this). Make sure your user "john" is part of the "java" group.

Put /usr/java/JDK1.4.0/bin into your path. In the /etc/profile file add this line to teh end of the file:

export PATH=$PATH:/usr/java/JDK1.4.0/bin/

Make sure that "which java" points to that directory.

Make sure that typing "java -version" gives you the 1.4 JDK message.

Using the export command in your /etc/profile file create these two
environment variables.

export JAVA_HOME=/usr/java/JDK1.4.0
export CLASSPATH=.:/home/john/dev_projects/javanights

When you exit the /etc/profile file you should type "source /etc/profile" to make those changes show up.
You may have to do this as user "john" to make sure that user "john" seels the changes.

To check the changes type "cat $JAVA_HOME" you should see the path. If you you get a "does not exist" message then just ignore it.

Go to question 3 to install Jext.

Change names and directories to meet your system requirements. Also remember to delete the old version of Java!

Karl_Marx
08-19-2002, 12:23 PM
Originally posted by alastairf
I have installed jre in /usr/local/java. When I try and run java start, I get this message:;


java.lang.ClassNotFoundException: start
at java.lang.Class.forName(Class.java:native)
at java.lang.Class.forName(Class.java:52)


Any ideas at what this means??
HELP!!!!!
It means that you haven't set what java file to open