Re: FATAL ERROR in native method when trying to use JRE 1.3.1

Nathan Fiedler <[email protected]> Tue, 23 Aug 2005 19:21:03 -0700
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <[email protected]>
In the launch dialog for the "Java Home" value, make sure there is no 
extra "\jre" on the end. It may look like c:\jdk1.3.1_15\jre, in which 
case you should change it to c:\jdk1.3.1_15 and then everything will be 
fine.

Note that the old JREs do not support debugging (or rather, every time I 
have tried it crashed as you described) -- you must use the JDK for 
debugging. You can always go to production on a JRE if you like, but 
development must be done with the JDK. I believe the newer versions (1.4 
and above) do not have these problems.

n


Billy Bacon wrote:
> Hi,
>  
> I'm a fequent user of jSwat and I'm running version 2.32. I have Java 
> 1.4.2 installed and actually running jSwat. What I'm trying to do though 
> is debug an application using 1.3.1. I know this is version of Java very 
> dated (and so is the application). I'm trying to upgrade the application 
> to get them to at least 1.4.2.
>  
> I'm trying to use the 'Start VM' dialog and in the Java Home I'm giving 
> it the path to the jre1.3.1 directory that's installed on my 
> computer. 'JVM Executable' = java.
>  
> When I try and start it up I receive the error below.
>  
> ERROR: Cause of death:
> Transport dt_shmem failed to initialize, rc = 509.
> FATAL ERROR in native method: No transports initialized.
>  
> I read that java 1.4.x is required to use jswat 2.x (which i am using). 
> I'm just wondering if I cannot use jSwat 2.x and point it to use a 
> jre1.3.1 when debugging a Swing application.
>  
> Thanks for any hints...
>  
> - Billy -