Results 1 to 2 of 2
  1. #1
    mhanzo123 is offline Member
    Join Date
    Mar 2013
    Posts
    2
    Rep Power
    0

    Default JCreator error message

    I have a 32 bit windows computer. I installed the jdk file jdk-7u17-windows-i586.exe and the documentation, and got it in line with J Creator. When I started to do simple commands, such as System.out.println("Hello World!");, the file would compile fine, but when I ran the project, I got this error message:

    Usage: java [-options] class [args...]
    (to execute a class)
    or java [-options] -jar jarfile [args...]
    (to execute a jar file)
    where options include:
    -d32 use a 32-bit data model if available
    -d64 use a 64-bit data model if available
    -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.
    -D<name>=<value>
    set a system property
    -verbose:[class|gc|jni]
    enable verbose output
    -version print product version and exit
    -version:<value>
    require the specified version to run
    -showversion print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
    include/exclude user private JREs in the version search
    -? -help print this help message
    -X print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
    enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
    disable assertions with specified granularity
    -esa | -enablesystemassertions
    enable system assertions
    -dsa | -disablesystemassertions
    disable system assertions
    -agentlib:<libname>[=<options>]
    load native agent library <libname>, e.g. -agentlib:hprof
    see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
    load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
    load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
    show splash screen with specified image
    See Java SE Documentation at a Glance for more details.

    Process completed.


    any ideas? thanks!

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,193
    Rep Power
    19

    Default Re: JCreator error message

    Please go through the Forum Rules, particularly the second paragraph. I've closed the other thread you started.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. JCreator Error
    By akanksha in forum JCreator
    Replies: 1
    Last Post: 03-17-2012, 05:20 PM
  2. Jcreator error help
    By Sage in forum JCreator
    Replies: 1
    Last Post: 03-19-2010, 02:03 AM
  3. JCreator error:
    By guru_boy in forum New To Java
    Replies: 4
    Last Post: 05-06-2009, 05:53 AM
  4. error with JCreator
    By marco in forum JCreator
    Replies: 4
    Last Post: 11-29-2008, 08:33 PM
  5. compilation error with Jcreator
    By Heather in forum JCreator
    Replies: 2
    Last Post: 06-30-2007, 04:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •