"java.exe has encountered a problem..." What am I doing wrong??? TPTP on Java 5.0? [message #70799] |
Mon, 15 May 2006 11:37  |
Eclipse User |
|
|
|
I am trying to do some profiling. I just downloaded the latest TPTP
version (tptp.sdk-TPTP-4.2.0-200604131758A). If I got this right I also
need the AgentController, so I downloaded and installed it
(tptpdc.win_ia32-TPTP-4.2.0-200604131758, I didn't install RAServer.exe
as a service, rather I am always starting it by hand before doing the
profiling - but I guess that should be OK).
When I try to "Profile..." my code as "Java Application I always get an
alert telling me "java.exe has encountered and needs to close. Sorry bla
bla ..." and nothing else happens, i.e. of course my application then
does not execute.
I tried this with (the application and eclipse itself) running on both,
Sun's 5.0 VM and IBM 1.5 beta VM, but same result with both, so I doubt
that it's the VM, that causes the problem. Is the AgentController able
to run with a 1.5 VM, too? The requ's list 1.4.x only, but, alas, my
application requires to run on a 5.0 VM, so I could not test this on a
1.4.x VM. If the AgentController only supports 1.4.x then of course I
can stop trying to profile this with TPTP right away...
Michael
|
|
|
Re: "java.exe has encountered a problem..." What am I doing wrong??? TPTP on Java 5.0? [message #70810 is a reply to message #70799] |
Mon, 15 May 2006 12:14  |
Eclipse User |
|
|
|
Originally posted by: nmehrega.ca.ibm.com
This is a multipart message in MIME format.
--=_alternative 005936BE8525716F_=
Content-Type: text/plain; charset="US-ASCII"
Yes, we do support JVM 1.5. I've seen java.exe crash in two different
scenarios:
1) Do you have the IBM RAC installed (the one that comes with RAD)? Check
your c:\windows\system32 for piAgent.dll. If this dll exists, it means
you have the IBM RAC installed and you'll need to uninstall it. The java
process does crash if these DLLs conflict. This is a known issue. Also
make sure you don't have any old versions of the agent controller in your
PATH.
2) Try disabling JIT when you're profiling. You can disable JIT with the
following VM argument: -Djava.compiler=NONE
Navid Mehregani
--=_alternative 005936BE8525716F_=
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif">Yes, we do support JVM 1.5. I've
seen java.exe crash in two different scenarios:</font>
<br>
<br><font size=2 face="sans-serif">1) Do you have the IBM RAC installed
(the one that comes with RAD)? Check your c:\windows\system32 for
piAgent.dll. If this dll exists, it means you have the IBM RAC installed
and you'll need to uninstall it. The java process does crash if these
DLLs conflict. This is a known issue. Also make sure you don't
have any old versions of the agent controller in your PATH.</font>
<br>
<br><font size=2 face="sans-serif">2) Try disabling JIT when you're profiling.
You can disable JIT with the following VM argument: -Djava.compiler=NONE</font>
<br>
<br><font size=2 face="sans-serif">Navid Mehregani</font>
--=_alternative 005936BE8525716F_=--
|
|
|
Powered by
FUDForum. Page generated in 0.03359 seconds