basic java question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 2005-12-02 at 13:44 -0500, Tony Schreiner wrote:
> On Dec 2, 2005, at 1:42 PM, Craig White wrote:
> 
> > Installed Fedora DS and trying to run
> > # /opt/fedora-ds/startconsole -u admin \
> > -a http://lin-workstation.azapple.com:32131
> >
> > /opt/fedora-ds/startconsole: Your JAVA_HOME environment variable is  
> > not
> > set.  Please set it appropriately.
> >
> > # rpm -qa j2re
> > j2re-1.4.2-11.1.fc3.rf
> >
> > # cat /etc/profile.d/java.sh
> > JREHOME="/usr/lib/jre/lib/i386"
> > JAVA_HOME="/usr/lib/jre/bin"
> > JAVAWSHOME="/usr/lib/jre/javaws"
> > #LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$JREHOME:$JAVAWSHOME"
> > PATH="$PATH:/usr/lib/jre/bin"
> >
> > # . /etc/profile.d/java.sh
> > [root@lin-workstation craig]# export $JAVA_HOME
> > -bash: export: `/usr/lib/jre/bin': not a valid identifier
> >
> > what's the trick? I'm not savvy on java
> >
> 
> You don't want the $ sign in the export command. You are exporting a  
> variable name, not its contents
----
duh - thanks

Craig


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux