Home > Back-end >  For help, a Java program can run in eclipse, 64 - bit JVM problems after packaging
For help, a Java program can run in eclipse, 64 - bit JVM problems after packaging

Time:09-16

Hi:
I was a small white, just start a Java program I am using a Java development of GUI user interface program, so I use the WindowBuilder eclipse plugin, all normal during the development phase, CeShiPao up is no problem, but when I packed into the JAR package try to run directly from the eclipse has run up, print information:

Under Caused by: Java. Lang. UnsatisfiedLinkError: always load a 64 - bit SWT libraries on 32 - bit JVM

Looks like, I use 64 - bit SWT but my 32 bit JVM can only city,
I checked the, there are a lot of restrictions, 64 bitjvm proposed approach are in eclipse jar parameters - d32 to solve the problem, after joining the parameter eclipse that don't work on the next page, quote us the program cannot be run in 32 bit JVM, push again, I found that make WindowBuilder plug-ins are unable to run down the 32 bit JVM, it's very embarrassed, you have what way can solve this situation? , after all, many parts had already done with WindowBuilder again to switch to other means to be re-evaluated to redo, good bother!

CodePudding user response:

Reload a 32-bit version of the JDK

CodePudding user response:

Tried not, problems are 64 bit, was built in windowbuilder out into a 32-bit SDK is still the same, they hung up directly in the eclipse,
  • Related