On Thursday, October 11, 2012 12:07:04 AM UTC-7, Lew wrote:
> markspace wrote:
>
> > K wrote:
>
> >> This is what I have in eclipse and when I run the program in regular
>
> >> and debug mode nothing seems to work only some code stuff appears at
>
> >> the bottom of the screen in some pane and I don't know why because in
>
> >> the book i'm reading thats not what happens
>
> >
>
> > That "code stuff" might be important, dontcha think? Copy and paste it
>
>
>
> That is, do not paraphrase it.
>
>
>
> > here, exactly as it appears. Getting the details exactly correct are
>
> > important, otherwise we can't help you.
>
>
>
> It's likely that the error messages you saw contain the answers you seek.
>
>
>
> > When I tried this just now, I saw the string "hello" appear on the
>
> > Console tab. Make sure you're looking at that one. When I deliberately
>
> > introduced an error, the errors also appeared in the Console tab.
>
>
>
> I am betting you didn't invoke the compiler or runtime correctly, K.
>
>
>
> --
>
> Lew
Usage: javaw [-options] class [args...]
(to execute a class)
or javaw [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-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>
-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
|