After much consternation, I’ve discovered that the Java runtime that comes with Ubuntu 7.10 just doesn’t quite cut it for MXML compilation. Specifically, MXMLC pegs the CPU to 100% and eats up all available RAM — both physical and virtual — until your system grinds to a halt. The solution, thankfully, is easy enough: just install the “real” JRE that comes with the Java 6 JDK, and welcome back to the sweet land of sunshine.
Note: Ubuntu 7.10 JRE blows; install sun-java6-jdk
February 20, 2008 by quinthar
Cool, but how did you install it? I downloaded java 6 jdk from sun and was able to extract and run the bin in my home directory; however, the sdk wasn’t available system wide, or perhaps some classpaths need to be set somewhere like in Windows. So, I started googling. I found some people recommended using Synaptics to install. After editing a config file to search multiverse and universe, Synaptics reports that it cannot resolve/install dependencies, and so it cannot install the jdk. I also work with Flex, but at the moment I just want to get java 6 sdk installed “system wide” so that Aptana can find it, and so it is available to all users of this system. Thanks!
Hm, I’m actually a bit new to Ubuntu so I’ve never run into any installation failures — everything has just worked magically for me. What you might try is instead of installing “sun-java6-jdk”, try installing “sun-java6-jre”. For example, what happens if you try “sudo apt-get install sun-java6-jre”?