logo       

Re: scalac2: msg#00057

lang.scala

Subject: Re: scalac2

Hello,

I have also been encountering bizarre exceptions with the Mac OS X JVM. Somehow, it seems that Apple-designed JVMs just aren't as stable as the Sun or IBM ones.

You can try at least two things to fix that:

1. Upgrade to the latest version of Java 1.5 (JRE 1.5.0_06-103 and VM 1.5.0_06-57) that is available for free from the Apple developer connection.

2. Switch back to Java 1.4. To do that, simply set the JAVACMD environment variable to '/System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home/bin/java', for example by executing in a BASH terminal the command: 'export JAVACMD=/System/...'. As long as this variable is set, SABBUS (the Scala build script) and the scala2 and scalac2 commands will use Java 1.4.

Good luck,
Gilles @ LAMP.

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-83)
Java HotSpot(TM) Client VM (build 1.5.0_05-48, mixed mode, sharing)
on Mac OS X.





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise