|
|
| not able to run in gcj file |
Expert:rajesh
We have a java program in Linux environment, which hits DB for some data and encode the same. We need to compile this java using GCJ compiler, we were able to do so using the following command.
gcj --classpath=/data1/geoae/OilnGas-JDPAD/OilnGas-JDPAD-Restructured/src:/data1/geoae/OilnGas-JDPAD/OilnGas-JDPAD-Restructured/lib/classes12.jar Test.java --main=getstool.tools.jdpad.Test -o Test
But when we are trying to run the java program it says that Classes12.Jar’s oracle Driver missing. We tried including the classpath which also doesn’t help.
Command for executing the GCJ compiled Java Program. “./Test”
When we tried the same program in normal mode without using GCJ it worked fine and ran as expected.
|
| Answers |
| More Questions |
|
|
Post Answers
Ask Question
Facing Programming Problem?
|
|
|
|
|