I'm having some build issues with Eclipse in that it runs my app just fine in eclipse but for some reason when trying to run using
#>java MyClass
it ends up not running due to not being able to find the class. This makes no sense so I was wondering if there was a way to have eclipse output what it's feeding into the jvm to get it to build/run.
Is this possible?
Thanks
you can get the exact command used by Eclipse like this:
I don't know of any way of getting Eclipse to show any command line arguments - but I'm sure we can solve your problem in other ways.
What is the full name of your class? Is it just MyClass
, or is it in some package? You need to supplied the fully qualified name, e.g.
java mypackage.MyClass
Where are the class files? You need to make sure they're on the class path, e.g.
java -classpath bin mypackage.MyClass
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With