Why cant i get java to work on windows xp and what can i do about it

I have used java before on windows 98 and windows 2k and didnt have any problems.
However, now im using win xp and it just doesnt work.
When i use the java command from the command prompt nothing happns..sometimes an msdos windows pops open ans close before i can read it.
if i type java nothing happens.
the javac command seems to work ok

C:\Java 2.0\jars>java
Usage: java [-options] class [args...]
           (to execute a class)
   or  java -jar [-options] 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 -classpath <directories and zip/jar files separated by ;>
                  set search path for application classes and resources
    -D<name>=<value>
                  set a system property
    -verbose[:class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -showversion  print product version and continue
    -? -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

Similar Messages

Maybe you are looking for

  • Adding cost center in RABEST_ALV01 from ANLZ node - ADA Logical database

    Hi, I am trying to display cost center in output list of RABEST_ALV01 ALV report (Copied it to ZRABEST_ALV01). I was able to include fields which are there in ANLAB and ANLAV in FIAA_SALVTAB_RABEST structure - CI_REPRABEST inlcude. And have included

  • Open the default Colour Swatches

    Hi All, How do I open the default Gradient Swatch from C:\Program Files\Adobe\Adobe Illustrator CS5\Presets\en_GB\Swatches\Gradients? Everytime I open the new document, it is nothing under the Swatches. Pls help and adv. Thank you.

  • Issue with interactive adobe forms in webdynpro JAVA

    hi all, I have added new field in interactive adobe form in NWDS and also did required changes to RFC function module which extract the data from database tables. Also, i have mapped the exporting parameter of the function module with newly added fie

  • Can I build pie-cahrt in Portal?

    Please tell me! Is it possible to build pie-carts and linear graphs in Portal 3.0.9.?

  • Keyboard Backlight Settings have no effect vaio Control Center

    I have a Sony laptop, model SVE14A35CXH, and my backlit keyboard does work, it's just that the settings in Vaio Control Center, under Keyboard Backlight, the settings for that have no effect on the actual keyboard backlight. I make the setting to nev