Skip to main content

rt.jar with debug symbols for Tiger and JDK1.4.2

3 replies [Last post]
chenbin
Offline
Joined: 2003-06-10
Points: 0

Though we have the fastdebug bundle for Mustang, we need the debug symbols for rt.jar on JDK 5(Tiger) and JDK1.4.2 imminently.
I try to rebuild Tiger and jdk1.4.2 from scsl source. Could you help me how can I open the debug swith from the Tiger and jsk1.4.2's make file?
I try some options on the Tiger's build, like:
1) gunmake scsl DEBUG_CLASSES=true
It seems get the rt.jar (under j2sdk-mage/jre/lib/rt.jar) no different with the normal build(without DEBUG_CLASSES=true). Also the build message show that the FASTDEBUG=false.

2) I try to run gunmake scsl FASTDEBUG=true
Even the build message show the FASTDEBUG=true. It seems the rt.jar (under j2sdk-image/jre/lib/rt.jar) is no different.

I don't know why? Can you help me? Thanks!
BTW: Is the JDK1.4.2 building use the same way with Tiger?

chenbin

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chenbin
Offline
Joined: 2003-06-10
Points: 0

Thanks vijayj!

Done for use follow commands.

gnumake scsl DEBUG_CLASSFILES=true

Both 1.4.2 and Tiger works. :-)

vijayj
Offline
Joined: 2004-10-26
Points: 0

> BTW: Is the JDK1.4.2 building use the same way with Tiger?

Both 5.0 (tiger) and 1.4.2 (mantis) builds are pretty much the same except they might have difference tools and os requirements.

You can check out our build readme files: -

For JRL Tiger release: - http://download.java.net/tiger/tiger_u3/README.html

For JRL Mustang release: - http://download.java.net/jdk6/README-JRL.html

You can check out our build readme file for various scsl releases.

http://www.sun.com/software/communitysource/j2se/java2/download.xml

These readme files should also be present in the source bundles.

Thanks,
-Vijayan.

vijayj
Offline
Joined: 2004-10-26
Points: 0

Hi,

If you are only interested in getting rt.jar (or java class files) with debug information for 1.4.2 and 5.0 release:-

Here is how you can build them,

You need to set OTHER_JAVACFLAGS variable along with all the other environment variable in your build then you will get a debug class files.

Eg:-
setenv OTHER_JAVACFLAGS -d
or
set OTHER_JAVACFLAGS=-d

Please let me know if you have any further questions.

Thanks,
-Vijayan.