Re: Installing Sun Java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Krikket wrote:

|(I have another program that requires the Java VM to run, but it's not
|recognizing Java either.  Freshly downloaded from the sun website, so that
|shouldn't be a problem -- unless a bug has crept into the code they're
|distributing...)
|
|Krikket

~From my notes:

JAVA - HOWTO make globally accessible:
root]# edit /etc/profile:
JAVA_HOME=/usr/java/j2re1.4.2_01
PATH=/usr/java/j2re1.4.2_01/bin:$PATH

# REM: You may need to change the j2re1.4.2_01 to the version number
which you have
downloaded.  Once you have edited and saved the changes, you ought to be
able to open a console and type: java *or* java -fullversion. This
should return output such as this:
]$ java
Usage: java [-options] class [args...]
~           (to execute a class)
~   or  java [-options] -jar jarfile [args...]
~           (to execute a jar file)

where options include:
~  --------------------------------(more output edited for brevity)
- -----------
]$ java -fullversion
java full version "1.4.2_02-b03"

HTH & cheers,

Elton ;-)
- --

http://setiathome.ssl.berkeley.edu/stats/team/team_4504.html
"You only live once: let's make life BETTER for each other."
LINUX User #193975 [AMD ATHLON CPU] ICQ #149608718.




-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/+6Wa8gnnZyYnR5cRAjv8AJ4739t5S9z3bRIP02tfd/leF//iyQCfVSiJ
lR6hrTuyC749NOVQ6eDyu2w=
=fUni
-----END PGP SIGNATURE-----





[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux