RE: a postscript --> RE: javaHome is invalid:c:\java\j2sk1.4.0_01
"Roy Epperson" <[email protected]>
| Newsgroups | gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <000201c29194$8b59f130$0300a8c0@roy> |
That solved the problem. Apparently, when I re-installed the JDK/JRE the jre ended up in C:\Program Files\Java\j2re1.4.1_01 when the previous install it was in the subject page. Thanks, Roy > -----Original Message----- > From: [email protected] [mailto:jswat-user- > [email protected]] On Behalf Of Nathan Fiedler > Sent: Thursday, November 21, 2002 11:23 AM > To: Roy Epperson > Cc: [email protected] > Subject: Re: [jswat-user] a postscript --> RE: javaHome is > invalid:c:\java\j2sk1.4.0_01 > > I don't know why it is happening, but the simple solution is to clear > the Java Home text field in the Start VM dialog box and let JSwat figure > it out. The code JSwat is using is simple: > > if ((javaHome != null) && javaHome.length() > 0) { > File home = new File(javaHome); > if (!home.exists()) { > throw new IllegalArgumentException( > "javaHome is invalid: " + javaHome); > } > ((Connector.Argument) args.get("home")).setValue(javaHome); > } > > So, one would surmise that your directory does not exist. Like I said, > I have no idea why that is happening. > > n > > > On Thu, 2002-11-21 at 11:18, Roy Epperson wrote: > > Jswat, Ant and Jedit all are starting up and running just fine. > > > > Jswat gives me this error when trying to start a debug session. > > > > Thanks, > > > > Roy > > > > > > > -----Original Message----- > > > From: Roy Epperson [mailto:[email protected]] > > > Sent: Thursday, November 21, 2002 11:16 AM > > > To: 'Nathan Fiedler'; '[email protected]' > > > Subject: javaHome is invalid: c:\java\j2sk1.4.0_01 > > > > > > Why am I getting the subject error message? What do I need to > > change.... > > > > > > This occurs after I have started jswat (command file below)and try to > > > start the debugger. > > > > > > Things I have done: > > > 1. re-installed the JDK in the subject directory, same as where it was > > > before I re-installed > > > 2. installed jswat 2.10 > > > > > > > > > I was using 2.8 before I installed 2.10 and re-installed the JDK > > > > > > I am invoking jswat from a .bat file containing: java > > > com.bluemarsh.jswat.Main > > > > > > Thanks, > > > > > > Roy > > > > > > > > > > > _______________________________________________ > > jswat-user mailing list > > [email protected] > > http://www.bluemarsh.com/mailman/listinfo/jswat-user > > _______________________________________________ > jswat-user mailing list > [email protected] > http://www.bluemarsh.com/mailman/listinfo/jswat-user