Skip to main content

Building Squawk on Desktop

3 replies [Last post]
Joined: 2008-03-06

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
com.sun.squawk.builder.Builder at line 750 by replacing
toolsJarPath = toolsJarURL.getPath().substring(1);
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.
Joined: 2008-04-25

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,

Joined: 2008-03-06

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\ uses or overrides a deecated API.
Note: Recompile with -Xlint:deprecation for details.
src\com\sun\squawk\builder\commands\ warning:
s.jar.Main is Sun proprietary API and may be removed in a future release

Joined: 2006-09-08


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

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