on 09-02-2009 3:54 PM
I created this app using Eclipse 2.0 and it works great in Eclipse. I moved it to UNIX and I get an error.
Caused by: java.lang.UnsatisfiedLinkError: sun/print/Win32PrintServiceLookup.notifyFirstPrinterChange(Ljava/lang/String;)J
at sun.print.Win32PrintServiceLookup.access$000(Unknown Source)
at sun.print.Win32PrintServiceLookup$PrinterChangeListener.<init>(Unknown Source)
at sun.print.Win32PrintServiceLookup.<init>(Unknown Source)
The Eclipse was running JDK 1.6 and the server is running JDK 1.5, does this make a difference? Is this my problem?
One quick info.
Developing in JDK 1.5 and running in JDK 1.4 will be a problem for classes like java.lang.StringBuffer has its implementations are different. Its always recommend to develop on the same JDK version of the Server Runtime
Regards,
Vivek Nidhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
perhaps the server is not using a sun vm or the UNIX-implementation does not have a win32-printer thingie? You should post the whole stacktrace and the result of the "java -version"-command of your computer and the server to get more info on this forum.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.