Hello,

May be  with this add in the classpath.
It concerns java not pivot

java -cp  .:               

-----Message d'origine-----
De : ccp999 [mailto:[email protected]] 
Envoyé : lundi 25 juillet 2011 04:52
À : [email protected]
Objet : Re: Getting Started with Apache Pivot 2.0

Hi,

I'm new to Pivot and I was trying to run Hello world from 2.0.  After
spending few hours and still can't get it run.  Please help me!

I copied the code exactly from your web page and tried to run it from Mac
with Java 1.6.

here is the command I entered and the error message I got:

java -cp
pivot-core-2.0.jar:pivot-wtk-2.0.jar:pivot-wtk-terra-2.0.jar:pivot-tutorials
-2.0.jar
org.apache.pivot.wtk.DesktopApplicationContext com.itags.HelloJava
java.lang.ClassNotFoundException: com.itags.HelloJava
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at
org.apache.pivot.wtk.DesktopApplicationContext.main(DesktopApplicationContex
t.java:568)

and I put the HelloJava in the lib directory with pivot-2.0 jars as:

com                             pivot-tutorials-2.0.jar
pivot-wtk-2.0.jar
pivot-charts-2.0.jar            pivot-web-2.0.jar
pivot-wtk-terra-2.0.jar
pivot-core-2.0.jar              pivot-web-server-2.0.jar

why it could not find the hellojava?

--
View this message in context:
http://apache-pivot-users.399431.n3.nabble.com/Re-Getting-Started-with-Apach
e-Pivot-2-0-tp3090296p3196396.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to