This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Runtime issue finding external drivers
- From: George Palmer <george dot palmer at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Mon, 25 Oct 2004 18:25:24 +0100
- Subject: Runtime issue finding external drivers
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=NCoCj1FsgfVfPrcyUa+QBZBb+hCjv1AVlUCEPHOcYYLESBshyw7lUWksX8oHBs491tuLgiebTX2KfapRieD0WDEfr9vFLHv+zdHyGcWEuJwMNwS2/Z89BUz5oHcj9md4wDWo3B5QOXJqH4N4NEzZAk7VK6RZ3AugmlXId5UIQ8M=
- Reply-to: George Palmer <george dot palmer at gmail dot com>
Hi guys,
I have a Java program that when I run normally I use the tag
-Djava.library.path=. so that the code can find .dll and .so libraries
bundled in the same directory.
After compiling the code using GCJ and running I get an error message:
Caught java.lang.ClassNotFoundException: com.sun.comm.SolarisDriver
not found in [my classpath] while loading driver
com.sun.comm.SolarisDriver
Is this that it can't find the external comm driver or that I've
compiled the Java comm code wrong so it can't find the class
SolarisDriver?
Also serial communications requires a javax.comm.properties in the lib
directory of a Java install so where should that go if Java isn't
installed? Could this be the problem? I'm using windows at the
moment but are ultimately looking to cross-compile.
Thanks in advance for any help,
George