Ok, did that already of course, spent my last week on google looking
for answers :)

Ok I tried to put that at the end of my /home/MyUserName/.bashrc

PATH=${PATH}:/usr/lib/jvm/java-6-sun/bin
export PATH
JAVA_HOME=/usr/lib/jvm/java-6-sun/
export JAVA_HOME
CLASSPATH=${CLASSPATH}:/home/administrateur/workspace/CanalBlog/axis2/bin
export CLASSPATH

Of course, nothing changed.

How can I confirm where  the CLASSPATH is set?
I tried echo $CLASSPATH and got nothing at all

Moreover, when I run "tomcat start", it runs "startup.sh" which on its
turn runs "catalina.sh" and there I found these lines :

# Ensure that any user defined CLASSPATH variables are not used on startup,
# but allow them to be specified in setenv.sh, in rare case when it is needed.
CLASSPATH=

Once I run "tomcat start" I got this output

Starting Jakarta Tomcat. Using CATALINA_BASE:   /usr/lib/apache-tomcat
Using CATALINA_HOME:   /usr/lib/apache-tomcat
Using CATALINA_TMPDIR: /usr/lib/apache-tomcat/temp
Using JRE_HOME:        /usr/lib/jvm/java-6-sun/
Using CLASSPATH:       /usr/lib/apache-tomcat/bin/bootstrap.jar


What seemed really odd to me was that the CLASSPATH was set on bootstrap.jar.
I tried to add this at the end of my tomcat file
CLASSPATH=$CLASSPATH:/home/administrateur/workspace/CanalBlog/axis2/bin

...and nothing changed


2010/9/22 Matthew Woodward <[email protected]>:
> On Wed, Sep 22, 2010 at 9:30 AM, Michael <[email protected]> wrote:
>
>> Here is my configuration
>
> A quick google for "set classpath ubuntu" yields quite a bit of info. :-)
> Not trying to be flippant (well, maybe a little), I just like to help people
> help themselves.
>
> On my system to set my PATH and JAVA_HOME environment variables I went into
> ~/.bashrc and added something like:
> PATH=${PATH}:/opt/java/jdk1.6.0_20/bin
> export PATH
> JAVA_HOME=/opt/java/jdk1.6.0_20
> export JAVA_HOME
>
> If you want to set a CLASSPATH or need to for what you're trying to do, it's
> similar:
> CLASSPATH=/path/to/stuff/you/want/to/include:.
>
> Note the '.' at the end there--that means "look in the current directory
> too."
>
> After you make those changes to ~/.bashrc you'll have to logout and log back
> in for them to take effect.
> --
> Matthew Woodward
> [email protected]
> http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.
> http://www.gnu.org/philosophy/no-word-attachments.html
>
> --
> Open BlueDragon Public Mailing List
> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
> official manual: http://www.openbluedragon.org/manual/
> Ready2Run CFML http://www.openbluedragon.org/openbdjam/
>
> mailing list - http://groups.google.com/group/openbd?hl=en
>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to