Hello Jason,
Thanks I followed https://github.com/NetLogo/NetLogo/wiki/Building and build the master brach and get the jar and used Netlogo.jar as my external library. but still I get errors as follows. It seems that the scala version is still not compatible. I wonder why. What can I do to change everything? Also, in the library provided in the git repository, there is a library missing: log4j. I got it from: http://grepcode.com/snapshot/repo1.maven.org/maven2/log4j/log4j/1.2.15 and it stopped reporting problems but I can't run it. The following are the errors I got. I am using eclipse My Scala version is 2.10.3 What do you think is the problem? Thanks very much Robert Exception in thread "main" java.lang.NoClassDefFoundError: scala/reflect/ClassManifest at org.nlogo.api.Version$.<init>(Version.scala:15) at org.nlogo.api.Version$.<clinit>(Version.scala) at org.nlogo.app.Splash$MyIconHolder.<init>(Splash.scala:31) at org.nlogo.app.Splash$.beginSplash(Splash.scala:13) at org.nlogo.app.App$.main(App.scala:83) at Example$.main(Example.scala:7) at Example.main(Example.scala) Caused by: java.lang.ClassNotFoundException: scala.reflect.ClassManifest at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 7 more On Sunday, 29 December 2013 08:16:43 UTC, Jason Bertsche wrote: > > Yes, you can use `./sbt package` from the root directory of a > checked-out NetLogo repository in order to create the 'NetLogo.jar' file > for that branch. > > Jason Bertsche > Senior Software Developer - NetLogo > > On 12/28/2013 05:23 PM, Robert White wrote: > > I think I can compile my own with ./sbt so I will try again and see. > thanks > > On Saturday, 28 December 2013 23:18:54 UTC, Robert White wrote: >> >> Hello. >> >> https://github.com/NetLogo/NetLogo/branches >> I found many branches. But I think there isn't a jar file there in >> the 'master' or 'headless' branches. Do I have to compile my own? >> >> Thanks and sorry to ask these fundamental questions. I am still an >> undergraduate student. Please accept my apologies if you think I am not >> familiar with these things (which I should). >> >> Thanks again >> Robert >> >> On Saturday, 28 December 2013 23:04:38 UTC, Seth Tisue wrote: >>> >>> >>> I just brought the information on this in the "Controlling API" and >>> "Extensions API" wiki pages up to date. Scala 2.9.1, 2.9.2, and 2.9.3 >>> are all acceptable. Other versions of Scala definitely will not work. >>> (for use with NetLogo 5.0.x) >>> >>> -- >>> Seth Tisue | http://tisue.net >>> >> -- > You received this message because you are subscribed to the Google Groups > "netlogo-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "netlogo-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
