Hi, welcome to Pivot. > I am new to Pivot so I followed this tutorial: > http://blogs.locusta.gr/argy/2011/09/setup-an-apache-pivot-project-in-eclipse/ all seems good there. Note: if you use Maven you can even try our sample archetype (but you have to download from here, it's not in maven main repository: https://code.google.com/a/apache-extras.org/p/pivot-common/downloads/list ).
> It works well on one computer but not the other (different version of > Eclipse). I attached the error message. our eclipse plugin needs eclipse-3.5.2 or later and we use it even in latest 4.2 release, so your problem should not be related to this. Just to be sure: do you have even in your other eclipse installation (under dropins folder) ? Note that sometimes our samples inside web pages could be a little outdated, as a general rule use examples "live" to show them and read pages to have some idea, then use sources/samples from a release bin/src or from svn, for example here: http://svn.apache.org/repos/asf/pivot/branches/2.0.x/tutorials/src/org/apache/pivot/tutorials/ > And in the console, it says: > Exception in thread "Main Thread" java.lang.ExceptionInInitializerError > Caused by: java.lang.NumberFormatException: For input string: "R28" > at > java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) > at java.lang.Integer.parseInt(Integer.java:449) > at java.lang.Byte.parseByte(Byte.java:151) > at java.lang.Byte.parseByte(Byte.java:108) > at org.apache.pivot.util.Version.decode(Version.java:147) > at > org.apache.pivot.wtk.ApplicationContext.<clinit>(ApplicationContext.java:1598) > > Any idea where that might come from? > the problem is due to an argument you pass to the application: "R28" but it expects a number ... but you shouldn't pass Pivot version to decode. What is your platform (O.S., JDK version, eclipse, etc) ? Trick: if you have an Application, create a Java source for the main class, and add the main() method in it, so you can run it even without Pivot eclipse plugin ... Another trick could be to save eclipse launch files (from your working installation) and try to use it even in your other eclipse installation. Tell us. Bye, Sandro
