Hi There,

Have you tried looking at the FAQ on the Apache-Pivot web site. As far as i
know all the instructions about how to set up your environment to develop
pivot applications using an IDE such as Eclipse are all there. Give it a try
and am sure all you problems will be sorted.

Regards
Elly.

On Mon, Jul 25, 2011 at 5:51 AM, ccp999 <[email protected]> wrote:

> 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(DesktopApplicationContext.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-Apache-Pivot-2-0-tp3090296p3196396.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
>

Reply via email to