Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I Set-up Java SDK 6 on Ubuntu 7.04 not long ago. At first when i tried running a simple .class i was getting "missing class" error. I Checked my ...
  1. #1
    Linux Newbie hughitt1's Avatar
    Join Date
    Oct 2005
    Location
    Baltimore, MD USA
    Posts
    167

    $CLASSPATH "No such file or directory" warning?

    Hi,

    I Set-up Java SDK 6 on Ubuntu 7.04 not long ago. At first when i tried running a simple .class i was getting "missing class" error. I Checked my CLASSPATH variable, and changed it in .bashrc to include "." and it worked fine after that, however i am still getting a weird warning message if i try to echo out $CLASSPATH..

    Code:
    $ $CLASSPATH
    bash: /usr/local/tomcat/lib/jsp-api.jar:/usr/local/tomcat/lib/servlet-api.jar:/usr/local/tomcat/lib/mysql-connector-java-5.0.5-bin.jar:.: No such file or directory
    However, I Checked and the files are all there-
    Code:
    $ ls /usr/local/tomcat/lib/
    
    annotations-api.jar  jasper-el.jar                       tomcat-coyote.jar
    catalina-ant.jar     jasper.jar                          tomcat-dbcp.jar
    catalina-ha.jar      jasper-jdt.jar                      tomcat-i18n-es.jar
    catalina.jar         jsp-api.jar                         tomcat-i18n-fr.jar
    catalina-tribes.jar  mysql-connector-java-5.0.5-bin.jar  tomcat-i18n-ja.jar
    el-api.jar           servlet-api.jar
    Anyone have any ideas why i get the warning message? Is there something i don't have setup properly?

    Any insight would be much appreciated
    Last edited by hughitt1; 05-02-2007 at 08:00 PM. Reason: adding space to make easier to read.

  2. #2
    Linux Newbie hughitt1's Avatar
    Join Date
    Oct 2005
    Location
    Baltimore, MD USA
    Posts
    167
    /bump. anyone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...