When doing a fresh checkout as per the dir
Project: | JNode Core |
Component: | Miscellaneous |
Category: | task |
Priority: | minor |
Assigned: | Unassigned |
Status: | closed |
Jump to:
Description
When doing a fresh checkout as per the directions on the site, I am unable to build. This is a brand-new checkout, no modified files.
SVN revision: 3097
build system: OS X 10.4
break in: java-image
top of compiler error chain:
[bootimage] Method calls method outside KernelSpace:
[bootimage] caller: org.jnode.vm.LoadCompileService#showInfo!()V
[bootimage] callee: java.util.ArrayList#size!()I
[bootimage] Method 'org.jnode.vm.classmgr.VmField#getType!()Lorg/jnode/vm/classmgr/VmType;' calls synchronized method: org.jnode.vm.classmgr.VmField#resolve!()V
See attached file for output of build and all errors.
Attachment | Size |
---|---|
issues_29 | 36.98 KB |
- Login to post comments
apple jdk
To build jnode svn on a mac intel, you need :
.- Java sdk 6.0 from apple.
.- nasm equivalent for mac intel.
.- cdrtools, mkisofs.
Fabien L.
Intel Mac help - thanks!
I changed the bug title to suggesting an Intel Mac howto. I meant to put the rest of my comments to you directly, not in the bug (oops), but I'll paste them here too. If you can offer a few minutes to answer these questions, I'd appreciate the help, if you don't, thanks at least for what you've already offered.
I've got nasm, not sure where to get mkisofs or cdrtools (they don't appear to be on the developer tools package from Apple)... any suggestions?
Also, what version will JDK 6 show up as when examined with 'java -version'? I currently get the following:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
I believe this is JDK 5, but I'm not positive.
Thanks again for the help with getting up to speed on this!
Jeff
Good point
We need update build documentation for macosx/macintel, i buy a macbook recently and i busy with setup.
For jdk, version must be java version "1.6.0".
Fabien L.
I've successfully built
I've successfully built jnode on MacOS X from the trunk and the 2.6 sources. Here's what I needed to do:
1. I'm using 10.5.2. I'm not sure if it works on 10.4.x.
2. Download and install Java SE 6 from the ADC site. I used Developer Preview 9. Note that this only works on 64 bit compatible machines (MacBook Pro's with Core 2 Duo processors are OK). The link to the downloads page is: https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/105/wo/aC2LI...
3. If you don't want to use Java SE 6 as your default Java (I don't), then edit build.sh and add /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/ before the java command.
4. Download and build cdrtools (I used version 2.01.01) from http://cdrecord.berlios.de/private/cdrecord.html. I just installed the mkisofs executable in /usr/local/bin (which is in my path).
5. Download and install yasm from http://www.tortall.net/projects/yasm/wiki/Download. I used version 0.6.2.
6. Edit all/lib/jnode.xml and change the javac "memoryMaximumSize" attribute to "1024m".
7. Edit core/src/openjdk/sun/sun/applet/AppletViewerPanel.java and comment out line 34 "import sun.tools.jar.*;"
8. Run "sh build.sh cd-x86-lite".
You should end up with an ISO image called jnode-x86.iso in all/build/cdroms.
Cheers,
Greg
#1
Have you read all the information on building JNode on OS X?
You might take a look at:
PPC port volunteers?
Using OSX and PowerPC for JNode development and testing
PPC port
Martin
#2
I read what's there, but I'm on an Intel Mac, and I don't see anything pertaining to the non-PPC macs in those links. Has building this been tested on IntelliMacs yet? With some preliminary assistance, I'd be glad to make it work, but I haven't become familiar enough with everything to understand the whole build process yet.
#3
OK, I'm changing the bug title to reflect the need on the website for a howto identifying the steps for building on an Intel Mac. In the meantime, I've got nasm, not sure where to get mkisofs or cdrtools (they don't appear to be on the developer tools package from Apple)... any suggestions?
Also, what version will JDK 6 show up as when examined with 'java -version'? I currently get the following:
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
I believe this is JDK 5, but I'm not positive.
Thanks for the help with getting up to speed on this!
Jeff
#1
I have created a book page for this material: http://www.jnode.org/node/2665
Since this seems to address the issue, I'm marking it as fixed.
#2
Automatically closed -- issue fixed for two weeks with no activity.