Groups
Groups
Sign in
Groups
Groups
Deuce-STM
Conversations
About
Send feedback
Help
java command-line tool error: agent library failed to init: instrument
5,390 views
Skip to first unread message
wlady
unread,
Jun 28, 2010, 11:37:40 AM
6/28/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Deuce-STM
Hello!
I wrote a simple test for Deuce but I'm having this error when I try
to run the test. I'm using
> java -javaagent:deuceAgent.1.3.0.jar -cp . DeuceTester
It outputs:
Error opening zip file or JAR manifest missing : deuceAgent.1.3.0.jar
Error occurred during initialization of VM
agent library failed to init: instrument
I've tried to run it with -cp .;deuceAgent.1.3.0.jar but I had the
same error.
My folder listing
Directory of C:\Java\stm\DeuceSimpleTest
28-06-2010 15:50 <DIR> .
28-06-2010 15:50 <DIR> ..
28-06-2010 16:30 254 Account.class
28-06-2010 15:47 245 Account.java
30-05-2010 15:17 43.577 asm-3.3.jar
30-05-2010 15:17 18.143 asm-analysis-3.3.jar
30-05-2010 15:17 38.275 asm-commons-3.3.jar
30-05-2010 15:17 21.503 asm-tree-3.3.jar
30-05-2010 15:17 36.598 asm-util-3.3.jar
30-05-2010 15:17 49.634 asm-xml-3.3.jar
28-06-2010 16:30 1.827 Bank.class
28-06-2010 15:47 1.658 Bank.java
28-06-2010 16:30 271 Command.class
28-06-2010 15:50 129 Command.java
27-06-2010 14:28 212.722 deuceAgent-1.3.0.jar
28-06-2010 16:30 2.361 DeuceTester.class
28-06-2010 16:30 2.163 DeuceTester.java
28-06-2010 16:30 931 PAccount.class
28-06-2010 15:47 888 PAccount.java
28-06-2010 16:30 931 SAccount.class
28-06-2010 15:47 908 SAccount.java
28-06-2010 16:30 1.384 WithdrawCommand.class
28-06-2010 15:49 890 WithdrawCommand.java
I little hand, needed here :)
Guy Korland
unread,
Jun 28, 2010, 4:07:32 PM
6/28/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Deuce-STM
The jar name is deuceAgent-1.3.0.jar and not deuceAgent.1.3.0.jar
Guy
wlady
unread,
Jun 28, 2010, 6:56:35 PM
6/28/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Deuce-STM
I'm so sorry. I got myself into this embarrassing copy & paste
trap. ;-)
Many thanks.
Reply all
Reply to author
Forward
0 new messages