openjdk-osx-build

Michael Hall mik3hall at gmail.com
Wed Apr 6 02:16:23 PDT 2011


On Apr 6, 2011, at 1:10 AM, Henri Gomez wrote:

>> Henri,
>> I'm not sure if you are aware of this or not. you may of addressed this with your downloads and I missed it. But, it appears your dmg installer won't copy over a existing jdk bundle.
>> I deleted the one I had and then it worked fine.
> 
> Strange, how did you previously installed jdk7 on your machine (ie:
> under /Library/Java/JavaVirtualMachines/1.7.0.jdk) ?

I think I used yours before for a little while. Usually I have used ones I've built. I think I have for the most part stayed away from the system directory instead placing the bundle in the user one. ~/Library/Java/JavaVirtualMachines/1.7.0.jdk
Incidentally, since Java Preferences is supposed to provide support for multiple jds's a little while back I tried having two there. One renamed something like current_1.7.0.jdk but it didn't get picked up in Java Preferences that i saw.
For yours I just tried running the installer indicating single user. It didn't appear to replace the one I had there. Unless Finder just wasn't updating the file information. I finally deleted or moved the one I had there, ran your installer and then appeared to get it.
> 
>> A lot better than my builds which were getting strange compile errors, first one, then when I switched to the jobjc build a lot of them. I'm not sure yet if this is because of my hacked 32-bit build or my first try at a non-forest extension repository being way out of sync at this time.
> 
> Let me list what is used here :
> 
> - OS/X 10.6.7 in 64bits mode (Darwin imac-hgomez-exo 10.7.0 Darwin
> 
Mine is a build I've had to tweak to get to run in 32 bit mode. I also hacked it to get around some symlink problems pointed out by the jobjc changeset  Missing the current Developer tools apparently.
10.6.6 until I noticed you had 10.6.7 and ran Software Update to get that.
XCode 3.2.6 since the symlink problem, 3.2.1 previously I think
Java 1.6.0_24 since available.
32 bit Core Duo MacBook.

> 
>> I did re-install the latest Java Developer tools as per Stephen Bannasch because having the right headers started seeming like a good idea. No difference though.
> 
> Could you check your system (kernel, XCode and default java ?)
> 
>> For right now it looks like Henri's is the one I'm developing with.
> 
> What do you means ?

I mean when I tried compiling with my own last build I got 100+ compile errors. Unusable.
Unfortunately when I tried yours it still got two compile errors. I thought with a quck look yesterday morning that these were normal ones I could deal with. But, looking closer one I had seen before with a prior build, which is why I tried swapping to the jobjc build jdk - which was worse. I posted the information for that in a "Strange compile error" post yesterday.
At least the fact I got the same error reproduced with your build sort of eliminates it being just my own build messed up somehow. I might guess a 32 bit thing since I think most people aren't using that. Given no further suggestions on how to proceed with that I will just bug report it I guess. Also unfortunately that one compile error is probably enough to make the current build unusable for development. I will when I get a chance maybe see if I can backout to a earlier one that works or try switching back to the bsd-port to get one to work with.

I just wanted to give you some notification that your installer seemed to not work the way that I am sort of used to them functioning. As it was it appeared to do nothing without giving any messages that it didn't succeed.




More information about the macosx-port-dev mailing list