This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Runtime issue finding external drivers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]