When attempting to run any program (as "Java Application") I get this output in the console:
Usage: javaw [-options] class [args...]
(to execute a class)
or javaw [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
set a system property
enable verbose output
-version print product version and exit
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
load native agent library by full pathname
load Java programming language agent, see java.lang.instrument
show splash screen with specified image
It feels like a configuration issue - but not sure where. For testing purposes, I ran a basic "Hello World" and was able to get success. I know this doesn't say much - but any potential configuration gotchas I can look for?
Something appears to be incorrect in the command line that is constructed to run your application. Check the VM arguments section of your launch config. Look for any invalid options or extraneous spaces.
You can see the actual command used to launch your program by opening the Debug view and opening the terminated launch. Right click on the tree entry that represents your process and select properties. This will give the actual command used to run your application.