Skip to main content

alphaWorks  >  Forums  >  IBM Lock Analyzer for Java  >  developerWorks

Errors when starting agent    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 7 - Pages: 1 - Last Post: Oct 8, 2007 5:15 AM Last Post By: tobycorbin Threads: [ Previous | Next ]

Posts: 2
Registered: Sep 12, 2007 02:32:32 AM
Errors when starting agent
Posted: Sep 12, 2007 02:47:03 AM
Click to report abuse...   Click to reply to this thread Reply
I unsuccessfully try to start JLA with SUN JDK 1.6.0_02 on Windows. I got program error "java.exe has been generated errors ........".
I append folder with JLAtiagent.dll into PATH and use recomended JVM parameters

C:\j2sdk6\bin\java -Dcom.sun.management.config.file=D:\temp\jla\wi32\JLAtiagent.properties -agentlib:JLAtiagent

java.library.path=....;D:\temp\jla\wi32\

D:\temp\jla\wi32>dir

12.09.2007 10:14 <DIR> .
12.09.2007 10:14 <DIR> ..
07.09.2007 16:18 5 360 JLAagent.jar
03.09.2007 10:17 69 632 JLAtiagent.dll
16.07.2007 13:31 129 JLAtiagent.properties

Could somebody help me with this issue. Thanks.
tobycorbin

Posts: 7
Registered: Nov 05, 2004 09:43:35 AM
Re: Errors when starting agent
Posted: Sep 12, 2007 02:52:21 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
The JLA will only work with an IBM produced JRE, not a Sun one. This is down to technology that exists in the IBM VM that is not present in the Sun one that gets used by the JLA.

Posts: 2
Registered: Sep 12, 2007 02:32:32 AM
Re: Errors when starting agent
Posted: Sep 12, 2007 03:06:57 AM   in response to: tobycorbin in response to: tobycorbin's post
Click to report abuse...   Click to reply to this thread Reply
> The JLA will only work with an IBM produced JRE, not a Sun one.
It looks like a very strange decision to support only IBM JDK. I supposed JLA uses JVM TI, not ".... technology that exists in the IBM VM".
In any case, thank you for fast answer.
tobycorbin

Posts: 7
Registered: Nov 05, 2004 09:43:35 AM
Re: Errors when starting agent
Posted: Sep 12, 2007 03:18:36 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Hi, sorry, when I said "technology that exists in IBM" I mean't a set of JVM TI functions that are in the IBM vm.

Posts: 3
Registered: Oct 04, 2007 01:43:33 AM
Re: Errors when starting agent
Posted: Oct 04, 2007 01:44:28 AM   in response to: tobycorbin in response to: tobycorbin's post
Click to report abuse...   Click to reply to this thread Reply
What version of the IBM VM should we be using and where can it be downloaded from.

Cheers
tobycorbin

Posts: 7
Registered: Nov 05, 2004 09:43:35 AM
Re: Errors when starting agent
Posted: Oct 05, 2007 09:47:32 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
JLA needs to be run with and IBM releases Java of version 5.0 or above.

These can be obtained from

http://www.ibm.com/developerworks/java/

For a Windows version, we recommend you download a copy of Eclipse as that has a version of Java bundled with it.

Posts: 3
Registered: Oct 04, 2007 01:43:33 AM
Re: Errors when starting agent
Posted: Oct 07, 2007 09:46:56 PM   in response to: tobycorbin in response to: tobycorbin's post
Click to report abuse...   Click to reply to this thread Reply
I'd rather not download an entire copy of eclipse just to get an IBM SDK to be honest I already have a stable version of eclipse running that I'd like to use, could you point me to a JDK download only.

Cheers
B
tobycorbin

Posts: 7
Registered: Nov 05, 2004 09:43:35 AM
Re: Errors when starting agent
Posted: Oct 08, 2007 05:15:51 AM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
IBM does not provide a standalone version of Java on Windows, it only provides one with the eclipse package. The version of eclipse that is packaged with an IBM released java is available here http://www.ibm.com/developerworks/java/jdk/eclipse/index.html

Once downloaded, you can point your environment at the Java that is contained in this package

Point your RSS reader here for a feed of the latest messages in all forums