Console Error in Eclipse

Started by
1 comment, last by dmatter 11 years, 11 months ago
Anyone know why I might be getting this in the Eclipse console when I try to run something? It looks like Eclipse's run configuration might be a little wonky, but I've only been playing with Java and Eclipse for about a month, so I haven't the slightest clue where to begin.

[color=#ff0000]Usage: javaw [-options] class [args...]
[color=#ff0000] (to execute a class)
[color=#ff0000] or javaw [-options] -jar jarfile [args...]
[color=#ff0000] (to execute a jar file)
[color=#ff0000]where options include:
[color=#ff0000] -d32 use a 32-bit data model if available
[color=#ff0000] -d64 use a 64-bit data model if available
[color=#ff0000] -server to select the "server" VM
[color=#ff0000] -hotspot is a synonym for the "server" VM [deprecated]
[color=#ff0000] The default VM is server.

[color=#ff0000] -cp <class search path of directories and zip/jar files>
[color=#ff0000] -classpath <class search path of directories and zip/jar files>
[color=#ff0000] A ; separated list of directories, JAR archives,
[color=#ff0000] and ZIP archives to search for class files.
[color=#ff0000] -D<name>=<value>
[color=#ff0000] set a system property
[color=#ff0000] -verbose[:class|gc|jni]
[color=#ff0000] enable verbose output
[color=#ff0000] -version print product version and exit
[color=#ff0000] -version:<value>
[color=#ff0000] require the specified version to run
[color=#ff0000] -showversion print product version and continue
[color=#ff0000] -jre-restrict-search | -no-jre-restrict-search
[color=#ff0000] include/exclude user private JREs in the version search
[color=#ff0000] -? -help print this help message
[color=#ff0000] -X print help on non-standard options
[color=#ff0000] -ea[:<packagename>...|:<classname>]
[color=#ff0000] -enableassertions[:<packagename>...|:<classname>]
[color=#ff0000] enable assertions with specified granularity
[color=#ff0000] -da[:<packagename>...|:<classname>]
[color=#ff0000] -disableassertions[:<packagename>...|:<classname>]
[color=#ff0000] disable assertions with specified granularity
[color=#ff0000] -esa | -enablesystemassertions
[color=#ff0000] enable system assertions
[color=#ff0000] -dsa | -disablesystemassertions
[color=#ff0000] disable system assertions
[color=#ff0000] -agentlib:<libname>[=<options>]
[color=#ff0000] load native agent library <libname>, e.g. -agentlib:hprof
[color=#ff0000] see also, -agentlib:jdwp=help and -agentlib:hprof=help
[color=#ff0000] -agentpath:<pathname>[=<options>]
[color=#ff0000] load native agent library by full pathname
[color=#ff0000] -javaagent:<jarpath>[=<options>]
[color=#ff0000] load Java programming language agent, see java.lang.instrument
[color=#ff0000] -splash:<imagepath>
[color=#ff0000] show splash screen with specified image
[color=#ff0000]See http://www.oracle.co...tion/index.html for more details.[/quote]

Any suggestions would be greatly appreciated smile.png Thanks in advance.
Advertisement
What are you doing exactly? (mouse clicks, file types, etc)

What do you really want to do?
Sounds like Eclipse is having trouble invoking Java and probably because of a wonky configuration issue somewhere.
Have you changed any Eclipse settings recently? Or changed any environment variables, or your Java installation at all?

One option is to just bulldoze the installation and reinstall Eclipse (leave your Workspace alone though) and hope that fixes it.

This topic is closed to new replies.

Advertisement