Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A lot of problems with a simple JMS example

 
Yonatan Cill
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
I�m a working with JMS Tutorial of Jms.(J2EE 1.3.1). I follow all the steps of the tutorial, and when i write
"java -Djms.properties=%J2EE_HOME%\config\jms_client.properties SimpleQueueSender MyQueue 3"
The console shows me the following error:
"Exception in thread "main" java.lang.NoClassDefFoundError: Files\s1studio\ee\j2s
dkee1/3/1\config\jms_client/properties"
I don�t know hot to fix this error. The classpath, and all the variables are correctily defined. I use XP o.s., jdkse 1.4 and j2see 1.3.1, and i repeat, i follow the steps of the tutorial. Could anyone help me?
Many Thanks.
Note: Sorry for my poor English.
 
Simon Brown
sharp shooter, and author
Ranch Hand
Posts: 1913
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you set your JAVA_HOME, J2EE_HOME and CLASSPATH variables to? Perhaps Java is having problems with spaces (e.g. Program Files)?
Simon
 
Yonatan Cill
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, it�s been helpfull. J2ee variables had problems with spaces. I have installed again j2ee in another directory and works.
Grettings from Spain.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic