hi
I try to run with the mercurial fan version:
My os:
Ubuntu 8.04.1
My java:
java version "1.5.0_15" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04) Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
My testscript:
#!/usr/bin/env fan class Script { static Void main() { echo("hi") } }
Error:
$ ./test.fan Exception in thread "main" java.lang.NoClassDefFoundError: fanx/tools/Fan
Any ideas?
ben
Most likely if you look in your lib/java dir you will be missing sys.jar
If you checked out from Mercurial, you will have to rebuild from source.
See Bootstrap Compile.
Login or Signup to reply.
jakb Wed 11 Feb 2009
hi
I try to run with the mercurial fan version:
My os:
My java:
My testscript:
Error:
Any ideas?
ben
brian Wed 11 Feb 2009
Most likely if you look in your lib/java dir you will be missing sys.jar
If you checked out from Mercurial, you will have to rebuild from source.
See Bootstrap Compile.