Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

JCreator: Problem outputting code!?

Hi only started using JCreator after moving from eclipse for course reasons but for the life of my I cannot get the program to output into the "output window". When running the following code for example:

System.out.print("Hello World");

I get the following output instead of the expected output of Hello World.

--------------------Configuration: <Default>--------------------

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

-server to select the "server" VM

-hotspot is a synonym for the "server" VM [deprecated]

The default VM is server.

-cp <class search path of directories and zip/jar files>..

Any ideas how to change output.

NOTE: When creating a new class or project, it will run the first time, but when i save this happens

2 Answers

Relevance
  • Anonymous
    8 years ago
    Favorite Answer

    Report this problem to the programming service to get things fixed.

  • Erika
    Lv 4
    5 years ago

    please examine which you have placed a semicolon " ; " after the on a similar time as assertion, get rid of it. different smart its merely superb. maximum appropriate code: public classification Exerciseone { public static void considerable (String[] args) { int x = 10; int y = 10; int counter = a million; int ability = a million; on a similar time as(counter<=y) { ability = ability * x; counter = counter + a million; } gadget.out.println("the flexibility is " + ability); } }

Still have questions? Get your answers by asking now.