M
marcussilfver
Hello
I have application code that runs fine when executed from inside
Eclipse IDE.
However when I make a jar "myApp.jar" out of it then the jar does not
run. If I however remove a certain object of a certain class C from my
code and generates a new "myApp.jar", then the new jar runs fine
aswell.
The class C which I remove from the code to make it work is located in
an external jar "x.jar".
Inside the IDE, I have included x.jar in the buildpath of the project.
My thought is that the class C is not found in runtime when executing
"myApp.jar".
Where should I put the x.jar for the JRE to find when executing
myApp.jar?
I have application code that runs fine when executed from inside
Eclipse IDE.
However when I make a jar "myApp.jar" out of it then the jar does not
run. If I however remove a certain object of a certain class C from my
code and generates a new "myApp.jar", then the new jar runs fine
aswell.
The class C which I remove from the code to make it work is located in
an external jar "x.jar".
Inside the IDE, I have included x.jar in the buildpath of the project.
My thought is that the class C is not found in runtime when executing
"myApp.jar".
Where should I put the x.jar for the JRE to find when executing
myApp.jar?