:?: JVM for Redhat 7.3

Discussion regarding the installation and configuration of Linux distributions.
Lance Naik
Posts: 15
Joined: Sat Aug 17, 2002 12:36 pm

:?: JVM for Redhat 7.3

Post by justujoo »

Hi... could any one tell me the exact command for setting the JVM Class Path......
Scenario is I was installing LimeWire .... by giving the ./LimeWire... .bin. It initialize and prepare for the installation but than say that you need to install JVM ... while JDk is install on my system ... the problem i guess is that ..I have to set the ClassPath for the installation... I dont know the command ... if some one here help me with that... oh one thing more... i downloaded J2SE and JRE and only run the RPM ... is there any thing else i need to do... to complete the istallation...
Thanks & Regards
Site Admin
Posts: 918
Joined: Wed Aug 07, 2002 8:00 pm
Location: Addison, IL

Post by fawad »

You don't need to set the classpath for JDK>=1.2. Just install the rpm, which will put the package in /usr/java/?. At that point, the jdk is usable, however, you might have to set up some symlinks. One thing that could be done is put /usr/java/jdk/bin in the PATH. Another option is to set up a bunch of symlinks from /usr/java/jdk/bin/* to /usr/local/bin. Some programs that bootstrap from shell scripts require that the JAVA_HOME (or JDK_HOME) envvar be set to the Java directory. for that put

export JAVA_HOME=/usr/java/jdk

into ~/.bash_profile.

This is all assuming that you have the JDK installed already (which I don't think Redhat does).