Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Issue with console(Console not working correctly)
Issue with console [message #782545] Mon, 23 January 2012 23:09 Go to next message
Tim Harry is currently offline Tim HarryFriend
Messages: 1
Registered: January 2012
Junior Member
So in eclipse when I do a simple project like this code down here, for example, I get this stuff in the console. Yet, even when I have no code in the class file, it still get that same console stuff. Even if I type "eagjhsaldjkfhlaskjfh" into the class file, I get the same console stuff. If anyone can help me with this it would be greatly appreciative. Thanks. I'm going to feel dumb about it, but I'm a beginner, so don't hate. Thanks again.

EXAMPLE
public class dood {

	public static void main(String cheese[]) {
		System.out.println("cheese");
	}
}



CONSOLE STUFF
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.
    -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 | -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
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions
    -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

Re: Issue with console [message #789742 is a reply to message #782545] Fri, 03 February 2012 10:53 Go to previous message
Nick Clevery is currently offline Nick CleveryFriend
Messages: 50
Registered: January 2012
Member
I think there is something wrong here. How did you run the program from Eclipse? Did you right-click on the file and select "Run As --> Java application" ?
Previous Topic:Where does JDT set the errors with the arguments when a compilation fails
Next Topic:Internationalizating Job buttons
Goto Forum:
  


Current Time: Thu Apr 25 21:26:13 GMT 2024

Powered by FUDForum. Page generated in 0.02816 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top