[ubuntu] Java takes too long to start

view full story

http://ubuntuforums.org – Hello All, I am running ImageJ (an java based Image analysis program). Everytime I try starting it, it takes forever to load. Once it loads, it works as it should. Here is how I am launching it: Code: ~/.ImageJ/jre/bin/java \ -Xmx2048m \ -jar ~/.ImageJ/ij.jar \ -ijpath ~/.ImageJ I tried both ~/.ImageJ/jre/bin/java and /usr/bin/java Code: $> /usr/bin/java -version java version "1.6.0_22" OpenJDK Runtime Environment (IcedTea6 1.10.6) (6b22-1.10.6-0ubuntu1) OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode) $> ~/.ImageJ/jre/bin/java -version (Hardware)