I think i remember someone reporting difficulties with open JDK earlier... Maybe try the sun JDK?
When I do [b]./d.sh jvmenv[/b]
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
Exception in thread "main" java.lang.RuntimeException: Unable to locate tools.jar. Try -v or -verbose and relaunch to see where attempts to locate were made
Message was edited by: qawsed123
Thanks, but at step four:
the result is:
[b]./squawk: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory[/b]
I use Ubuntu 9.10 x64.
I tried to build this in a Ubuntu 9.10 x86 distro but I stuck int the first step. When I do:
The console shows me an error message about "the disapeared tools.jar".
In both distro I link the classpath like this:
The folder of the squawk is in my user's home director and the folder of [b]jdk22.214.171.124[/b] (or somthing like this) too.
Thanks for the info!
The error message " error while loading shared libraries: libjvm.so" is directly related to the fact that LD_LIBRARY_PATH is not set correctly, which is what "d jvmenv" tells you how to do.
But I'm not sure why jvmenv didn't work for you.
If you are building from the trunk you should be using JDK 1.6. If using the squawk-native branch you need to use JDK 1.5 (until we merge).
If that doesn't seem to be the problem, can you reply with the result of calling "./d.sh jvmenv"?
That link is out of date. Try: http://wiki.java.net/bin/view/Mobileandembedded/Squawk .
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.