Page 1 of 1

Apparently broken javac

Posted: 28 Mar 2009, 01:06
by Rotonen
My javac gets stuck on OS X. Apparently goes into an infinite loop when run in any case.

Apple developer forums or the Sun support group have not provided any answers or intelligent guesses about what could be broken.

How is this related to TMW? Autotools need gettext and the ./configure of gettext gets stuck at checking for javac.

Cannot compile source releases (would be interested in debugging git) at the moment and cannot be arsed to learn xcode properly (clear wiki article for dummies, anyone?).

Yes, this is a longshot.

Re: Apparently broken javac

Posted: 29 Mar 2009, 08:55
by allenmoatallen
It depends on the version of MacOS you have and the version of Java that you need.

MacOS X 10.4.x uses Java 1.5

MacOS X 10.5.x uses Java 1.5 also but can get 1.6 through an update, although its not made to be used by default.

Re: Apparently broken javac

Posted: 30 Mar 2009, 10:28
by trapdoor
Have you tried http://www.macports.org/ ?

They should have a working version of gettext.

--
trapdoor

Re: Apparently broken javac

Posted: 31 Mar 2009, 17:15
by Rotonen
The gettext is not the issue I need to solve, I also need a functional javac for stuff. Getting libraries is trivial. Fixing the compiling environment is not.

OS X 10.5 and the latest updates installed (this of course also covers Java). Every instance of javac on my machine just eats 100% cpu and sits there.

I guess I'll just use compile farms until Snow Leopard comes along and do a fresh reinstall then.