[Sussex] vvv confused with java - jre, sdk and jvm

Ronan Chilvers ronan at thelittledot.com
Mon Jul 25 07:39:38 UTC 2005


On Mon, 25 Jul 2005 00:40:48 +0100
"John D." <john at johnsemail.eclipse.co.uk> wrote:

> Richie Jarvis wrote:
> john at johnspc:~> export PATH=$JAVA_HOME/bin: $PATH
> bash: export: 
> `/usr/lib/jvm/java/bin:/usr/lib/jvm/java:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin': 
> not a valid identifier
> john at johnspc:~>
> <!-----Which still leaves me completely stumped, because if I look at 
> the "echo $JAVA_HOME" it's still telling me this-----!>
> 
> john at johnspc:~> echo $JAVA_HOME
> /usr/lib/jvm/java
> john at johnspc:~>

But doing 

export PATH=$JAVA_HOME/bin....

doesn't export JAVA_HOME, it just adds the contents to your path and
exports that.

Have you done

export JAVA_HOME=[whatever]

first?

Tomcat?  [shudder] Brings many long buried and horrible memories!!!

;-)

Ronan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20050725/4e390dee/attachment.pgp 


More information about the Sussex mailing list