• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Export Word
    • Attachments
    • Page Information

    Loading...
  1. Dashboard
  2. Port: MacOSX
  3. Main

Page History

Versions Compared

Old Version 43

changes.mady.by.user Alex Strange

Saved on Jun 20, 2011

compared with

New Version 44

changes.mady.by.user Bino George

Saved on Jun 30, 2011

  • Previous Change: Difference between versions 42 and 43
  • Next Change: Difference between versions 44 and 45
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added steps for iterative compilation

...

Code Block
$JAVA_HOME/bin/java -jar /Developer/Extras/Java/JFC/SwingSet2/SwingSet2.jar

Iterative development of a particular module, AWT for example (avoid having to build whole JDK)

Code Block

export JDK7_BASE=/Volumes/Data/src/JDK7/macosx-port
export JDK7_BUILD=$JDK7_BASE/build
export ALT_BOOTDIR=$JDK7_BUILD/macosx-universal/j2sdk-image/
export ALT_JDK_IMPORT_PATH=$JDK7_BUILD/macosx-universal/j2sdk-image/
export ALT_OUTPUTDIR=$JDK7_BUILD/macosx-universal
cd $JDK7_BASE/jdk/make/sun/awt/
make

Settting bootclasspath, DYLD_LIBRARY_PATH and debugging with your changes:

Code Block
compilation
export _JAVA_OPTIONS=-Xbootclasspath/p:$JDK7_BUILD/macosx-universal/classes/
export DYLD_LIBRARY_PATH=$JDK7_BUILD/macosx-universal/lib/

$JAVA_HOME/bin/java -jar /Developer/Extras/Java/JFC/SwingSet2/SwingSet2.jar

6. Test

Download jtreg to run the tests in the /jdk/test directory.

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 241, "requestCorrelationId": "f87eaf114ff77a04"}