Troubles with my classpath

From: Tom Vercauteren via JavaKB.com (forum_at_JavaKB.com)
Date: 03/29/05


Date: Tue, 29 Mar 2005 18:23:39 GMT

Hi,

I've read a lot of threads about the classpath, but I didn't really find
what I was looking for.
Briefly explained : i want to add jdbcdrv.zip to my classpath.
the file is located under: C:\Program Files\Sybase\SQL Anywhere 7\java

so i add to my classpath the directory with the zipfile, but i still can't
import anything from whitin that zipfile.

My classpath :
C:\Program Files\Java\jdk1.5.0_02\bin;C:\Program Files\Sybase\Jaguar CTS
3.5\html\classes;C:\Program Files\Sybase\Jaguar CTS 3.5\java\classes;C:\
Program Files\Sybase\Shared\Sun\jdk118\lib\classes.zip;C:\Program Files\
Sybase\Shared\PowerBuilder\classes.zip;.;%J2EE_HOME%\lib\j2ee.jar;%
J2EE_HOME%\lib\locale;C:\Program Files\Sybase\SQL Anywhere 7\jConnect\
classes;C:\Program Files\Sybase\SQL Anywhere 7\java\jdbcdrv.zip;

OS : windows XP

Structure of jdbcdrv.zip : /com/sybase/jdbc/..

When i want to import, i type
import com.sybase.jdbc.*;

And then i always get the error message : The import com.sybase cannot be
resolved.

I use eclipse to develop.

Does anyone has an idea how i can solve this problem ?

Thanks in advance,
Greetz,
Tom

-- 
Message posted via http://www.javakb.com


Relevant Pages

  • Re: Package not found
    ... package com.ibm.as400.access does not exist ... I think I'm giving the correct class path but I'm getting the same ... error message. ... CLASSPATH envar, which is what Java tools actually use, they don't show if you ...
    (comp.lang.java.programmer)
  • Re: Help with "main" error
    ... > I use the command line as follows: ... > The full error message is as follows: ... > I thought it may be the CLASSPATH, ...
    (comp.lang.java)
  • Re: Help with "main" error
    ... > I use the command line as follows: ... > The full error message is as follows: ... > I thought it may be the CLASSPATH, ...
    (comp.lang.java.help)
  • Re: GCJ and javax.net.ssl.TrustManagerFactory
    ... > I'm trying to generate a native linux executeable using GCJ. ... > The class seems to be missing in there. ... Now I have downloaded the newest classpath libraries and built them ... I get the same error message even though I specify the ...
    (comp.lang.java.help)
  • Re: Java GUI apps crash
    ... error message in every case: ... I already tried to reinstall Java completely. ... Make sure your CLASSPATH includes the JAR or ZIP file that your ... com.birosoft.* classes reside in. ...
    (alt.os.linux.suse)