Skip to main content

Building Squawk on Desktop

3 replies [Last post]
zallmoe
Offline
Joined: 2008-03-06
Points: 0

Hello all,
am trying to build squawk , but am facing an error i don't know what does it mean . i followed the instruction provided here in the forum.
actually i couldn't fine the line in build.java
---------------------------------------------
com.sun.squawk.builder.Builder at line 750 by replacing
toolsJarPath = toolsJarURL.getPath().substring(1);
by
toolsJarPath = toolsJarURL.getPath();
---------------------------------------------

could someone help me with this .

here is the error i received when trying to build the squawk

---------------------------------------------------------------------------------------------------------
Launcher: Found tools.jar in C:\Java\lib\tools.jar, by popping up a level from jre.
Builder.JDK: Looking for JDK in C:\Java, popped up a level from jre
Launcher: Found tools.jar in C:\Java\lib\tools.jar, by popping up a level from jre.
For vm2c tools.jar=C:\Java\lib\tools.jar
[running clean...]
Total time: 0s
--------------------------------------------------------------------------------------------------------------

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
leosteinfeld
Offline
Joined: 2008-04-25
Points: 0

Hello,
I'm not an expert in Squawk but I've already faced some issues.
I also couldn't find that line first, but finally I found it in an old version of squawk (tag blue080219), sure the post is older than the current version.
Go ahead with the step indicated in the post of Feb 12, 2008 2:28 AM Building/Running since you get no error at all!
Best regards,
Leo

zallmoe
Offline
Joined: 2008-03-06
Points: 0

Thank you for your reply,
well i've tried to download the old version of squawk (tag blue080219) , still have errors i followed the step but it is not working i get another error...

--------------------------------------------
Note: src\com\sun\squawk\builder\launcher\Launcher.java uses or overrides a deecated API.
Note: Recompile with -Xlint:deprecation for details.
src\com\sun\squawk\builder\commands\MakePlatformStubs.java:29: warning: sun.to
s.jar.Main is Sun proprietary API and may be removed in a future release
import sun.tools.jar.Main;
--------------------------------------------------------------------------------------------------------

derek_white
Offline
Joined: 2006-09-08
Points: 0

Hi,

I'm still trying to clean up the build directions, but you can look here to see a draft. Ignore any steps crossed out.

http://wiki.java.net/bin/view/Mobileandembedded/OnWindows

Note that the error you listed in your first message in this thread doesn't look like an error, but is expected output.