[Sussex] vvv confused with java - jre, sdk and jvm
Richie Jarvis
richie at helkit.com
Sun Jul 24 17:58:54 UTC 2005
Steve Dobson wrote:
>Richie, John
>
>On Sun, Jul 24, 2005 at 06:33:30PM +0100, Richie Jarvis wrote:
>
>
>>The normal problem with java is that by default, Linux uses GCJ, which
>>is compiled Java, and will not run most java apps out of the box. The
>>way to tell is to type at the prompt of the user you are trying to run
>>the application under:
>>
>>java -version
>>
>>If it comes back with something referencing GCJ, then you know you are
>>having this problem. The trick to get it to use Sun's JRE (Java Runtime
>>Environment) is to add $JAVA_HOME before everything else in the path:
>>
>>export PATH=$JAVA_HOME:$PATH
>>
>>
>
>John said earlier that he had set JAVA_HOME to /usr/lib/jvm/java
>If the Java system John install is the same as the JDK I install then
>you need to add set PATH thus:
> export PATH=$JAVA_HOME/bin:$PATH
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Sussex mailing list
>Sussex at mailman.lug.org.uk
>Sussex LUG Website: http://www.sussex.lug.org.uk/
>http://mailman.lug.org.uk/mailman/listinfo/sussex
>
Ah yes - oops - forgot that bit....
More information about the Sussex
mailing list