Re: Re: Error using new jvm 1.5 features

Nathan Fiedler <[email protected]> Tue, 13 Apr 2004 16:20:13 -0700
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <1081898413.10954.8.camel@chip>
The problem is you specifying the wrong JRE in JSwat when you launch
your debuggee. There is the Start VM dialog, the one that has several
text fields, one of which asks for "Java Home". You need to put the path
to the 1.5 JDK there, not the path to 1.4.

The next release of JSwat will be a while from now. It's undergoing a
major rewrite.

n


On Tue, 2004-04-13 at 02:12, Info wrote:
> Thanks Nathan for your answer
> 
> # java -version
> java version "1.5.0-beta"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
> Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)
> 
> I understand that jswat can't cause the NoSuchMethodError but in a normal
> run (# java myProgram) don't point it out...
> 
> I believe these methods are natively implemented; maybe this is
> the problem's origin ?
> 
> Keep getting the error also rebuilding jswat under jdk-1.5.
> 
> So patiently will wait for a new jswat release,
> 
> thanks in advance ;-)
> 
> Lucio