LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Yoper (https://www.linuxquestions.org/questions/yoper-57/)
-   -   Java-related applications.. (https://www.linuxquestions.org/questions/yoper-57/java-related-applications-261514/)

Cliekid 12-01-2004 07:12 PM

Java-related applications..
 
Hey,

I was wondering if anyone was having a similar problem:

I was trying to install a few java-based applications, from .bin. These files always reutnr an error saying they can't find the JVM in the PATH variable.

I go into .bash_profile for both Root AND my user..and I edit it to have the directories.

When I echo $PATH though, it doesn't see the directories I added (I logged out, too.)

Anyone know the problem?

Thanks,
Cliekid

henryg 12-02-2004 03:07 AM

I think some script is overwriting stuff
i would just do a search for any file containing the Path declaration and substituting accordingly
or adding the lines:

$export JAVA_HOME=/usr/local/jdk/jre
$export PATH=${PATH}:${JAVA_HOME}/bin

z-vet 12-02-2004 08:29 AM

Look in /etc/profile. There your $PATH is defined.


All times are GMT -5. The time now is 03:39 PM.