Results 1 to 6 of 6
Everytime I install java 2 (1.4.2) it doesn't seem to work. It installs, just that it doesn't work when I go play java games... any suggestions?...
- 02-15-2004 #1Just Joined!
- Join Date
- Feb 2004
- Posts
- 7
Java won't work
Everytime I install java 2 (1.4.2) it doesn't seem to work. It installs, just that it doesn't work when I go play java games... any suggestions?
- 02-16-2004 #2Linux User
- Join Date
- Jan 2004
- Posts
- 357
You probably need to setup your environment variables to make sure that it's in your path when you log in.
This assumes that you installed the JRE (java runtime environemt) and not the SDK (the development package). If you installed the JDK the path will be something like "/opt/j2sdk_nb" instead of "/usr/java"
Create a file called java.sh in /etc/profile.d/ .
This file should contain the following lines (with the first line modified appropriately, according to what's actually in /usr/java/):
TypeCode:export JAVA_HOME="/usr/java/j2re1.4.2_02" export JAVA_PATH="$JAVA_HOME" export PATH="$PATH:$JAVA_HOME/bin"
Java should now work properly. You will need to log in and log out for some things to function properly.Code:chmod +x /etc/profile.d/java.sh
To install the browser (mozilla) plugin for java, as root, do:
-- note that you need to replace <YourJavaDirectory> with the name of the actual directory that's there.Code:ln -sf /usr/java/<YourJavaDirectory>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/mozilla/plugins
- 02-16-2004 #3Just Joined!
- Join Date
- Feb 2004
- Posts
- 7
thanks, that worked, although I installed my browser in /usr/local/ :o
- 02-16-2004 #4Linux User
- Join Date
- Jan 2004
- Posts
- 357
Yea, everybody has to be different
But I'm glad it was close enough to get you going. Have fun with the games.
- 02-17-2004 #5Linux User
- Join Date
- Jan 2004
- Posts
- 357
By the way, why don't you share, what are the games that you are playing?
- 02-17-2004 #6Just Joined!
- Join Date
- Feb 2004
- Posts
- 7
http://games.yahoo.com
Pool
Dominoes
Cribbage
and linux Chess :o (that computer is so hard to beat)



