SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    DR
    DR is offline
    Junior Member
    Join Date
    May 2001
    Location
    boston.ma
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    java Status error

    Hello,

    when I run "java Status" from the command I get the following error:

    "Exception in thread "main" java.lang.NoClassDefFoundError: Status/class"

    can anyone tell me what is wrong.

    thx

    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java Status error

    DR,

    It appears you are trying to run a class called Status, and the error message you are getting is telling you one of two things... either the VM can't find a class "Status" in your classpath, or if it is finding it, there is not a "main" function inside that class. Check the classpath and be certain to include the folder containing the Status file, or if it is in a jar, explicitly name that jar file in the classpath. You can be certain of getting it in the classpath if you use the java -cp option to set the classpath from the command line.

    I suspect you may be trying to use an informational switch from the java command line, something along the lines of java -version or java -Xprof. Is this accurate? If so, I'm not familiar with java -Status. What is it you are trying to do here?

  3. #3
    DR
    DR is offline
    Junior Member
    Join Date
    May 2001
    Location
    boston.ma
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java Status error

    This is the check that Segue says to perform once you have set your classpath (classpath =
    c:\progra~1\Segue\SilkTest\JavaEx\SilkTest_Java1.j ar). It should tell you if you have everything configured correctly for the jdk that you are using.

    Don

    ------------------

  4. #4
    Junior Member
    Join Date
    May 2001
    Location
    Beaverton
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java Status error

    DR,

    I believe that, there is an error in setting up the Environmetn Variables.

    I guess one of the followings is might be the reason.
    1. java Status - Command is a Case Sensitive, you must type at "java Status".
    ofcourse exclude the double quotes.

    2. Try putting these marks (excluding the doulbe quotes ".;" before your Classpath.
    Like (.;c:\progra~1\Segue\SilkTest\JavaEx\SilkTest_Java 1.jar)

    3. Set up your JAVA_HOME in the Environment Variables.

    Good Luck.

    Reddy.


    ------------------

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java Status error

    Ooooooooooooooooooooooh, Wait wait wait wait waiiiiiiiiit a minute. I think you might be looking for the html utility that Segue ships with Silk.

    Look in your install dir, e.g. c:\Program Files\Segue\SilkTest\JavaEx\Status, and run Status.html in your browser. You'll get a nice readout of your Java situation. Understand, however, that this thing is going to give you a Java version "readout" of the browser's VM, so if it is IE, you'll be told you are using 1.1 because Microsoft and Sun can't play nice in the same toybox.

  6. #6
    DR
    DR is offline
    Junior Member
    Join Date
    May 2001
    Location
    boston.ma
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java Status error

    Reddy,
    It seems the the ".;" was the problem. Everything else was correct. it now reports the correct info w/o any errors.

    Thx

    Don


    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by KrishnaReddy:
    DR,

    I believe that, there is an error in setting up the Environmetn Variables.

    I guess one of the followings is might be the reason.
    1. java Status - Command is a Case Sensitive, you must type at "java Status".
    ofcourse exclude the double quotes.

    2. Try putting these marks (excluding the doulbe quotes ".;" before your Classpath.
    Like (.;c:\progra~1\Segue\SilkTest\JavaEx\SilkTest_Java 1.jar)

    3. Set up your JAVA_HOME in the Environment Variables.

    Good Luck.

    Reddy.


    <HR></BLOCKQUOTE>



    ------------------

 

 

Posting Permissions

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

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 09:15 AM.

Copyright BetaSoft Inc.