RE: Using the JMS libraries

"Villanueva Arranz, Joaquin Luis" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
The problem perhaps are the blanks characters of Documents and Settings, try other directory name withot blanks

-----Mensaje original-----
De: openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:openjms-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]En nombre de Jorge
Angel Gonzalez Alvarez
Enviado el: martes, 03 de mayo de 2005 19:21
Para: [email protected]
Asunto: [openjms-user] Using the JMS libraries


Hi
 
Sorry is this question is a bit stupìd, but i cant solve by myself:
 
I have developped a program in JBuilder using the openjms libraries and works fine.
 
But now I need to use it in a windows machine without jbuilder.
I have one directories with the .class (and .java) called newgame and in C:\Documents and Settings\tecnico5\Escritorio\openjms-0.7.6.1\lib there are all the libraries from openjms-0.7.6.1.
 
So I try to invokes the game using the following:
 
C:\cygwin\home\tecnico5\newgame>java newgame.Launcher -cp .;cC:\Documents and Settings\tecnico5\Escritorio\openjms-0.7.6.1\lib
Exception in thread "main" java.lang.NoClassDefFoundError: javax/jms/MessageList
ener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
 
 
But this is what I get. I can see that is probably a problem of not finding the openjms libraries, but how could I
specify that? I have checked a hundred times that there are in the path specified in the class path.
Or maybe the javax/jms/MessageListener is within another libraries??
 
 
I have not found any good guide about using libraries. I know it is a stupid problem, but I am really stuck here.
 
Thanks in advance!!!!
 
 
Jorge


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r 
_______________________________________________
openjms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openjms-user


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.