Re: [flalug] Java

From: Ken Dickson (casey24601@yahoo.com)
Date: Wed Oct 01 2003 - 21:45:00 EDT


Thanks for the responce, Smitty. I login under root. So, are you saying
I should have a file in /root called ".bash_profile"? I did a search,
and I don't have that file anywhere on my harddrive. Could it be the
result of java not being properly installed?

Smitty wrote:

>On Wednesday 01 October 2003 20:16, you wrote:
>
>
>>Trying to get it so I can run .jar files. I have Java properly installed
>>because I can run applets from the web. I asked someone from a different
>>forum what I should do, and they said I need to edit my bash file (see
>>below). Can someone translate this to a little simpler language for a
>>newbie? :-)
>>-Ken
>>
>>
>>
>>>RE: Java / Neuros DBM
>>> 2003-09-30 20:52
>>> Java is not in your path. You want to put these entries in your
>>>.bash_profile file.
>>>
>>>
>That is a file in your home user directory. It is a dotted file.
>
>
>>> export JAVA_HOME= * put java location here *
>>>
>>>
>
>That is where java is installed on your hard drive. In a terminal input the
>command: which java
>The output will give you the path to the java binary on your hd.
>On mine it is /usr/lib/java/jre/bin/java
>
>
>
>>> export PATH=$PATH:$JAVA_HOME/bin
>>>
>>> Note, you'll have to find where java is installed on your box.
>>>On my box it's installed in /usr/java/j2sdk1.4.1_01 so my JAVA_HOME is:
>>>
>>> export JAVA_HOME=/usr/java/j2sdk1.4.1_01
>>>
>>> Make those changes and open up a new terminal.
>>>
>>>
>Hope that helps.
>Smitty
>
>
>



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:34:58 EDT