0

I have some jar files to be added in my project.

Add those jar files as External Jar files in Java Build Path for my project but it has java.lang.VerifyError when I run the project:

Could not find class 'com.sforce.ws.ConnectorConfig', referenced from method

Add those jar files to my libs folder and add them in Java Build Path, until my PC CPU consumption around 90%.

I believe that add them either as External Jar or put them as internal Jar won't give me issue.

What's wrong with it?

Note: My total jars size is around 9MB.

Rendy
  • 5,572
  • 15
  • 52
  • 95

2 Answers2

0

The reason of java.lang.VerifyError, Causes of getting a java.lang.VerifyError

you should be sure the same of libraries when compiled and runtime.

Community
  • 1
  • 1
BinGoBinBin
  • 182
  • 11
0

Finally get this solved!

Got solution from here

Need to increase:

-Xms512m 
-Xmx1024m

and

-XX:MaxPermSize=1024m

In my case, I need to increase all of them to 2048m!

Rendy
  • 5,572
  • 15
  • 52
  • 95