For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 3 replies, 2 voices, and was last updated 18 years, 2 months ago by
Peter McKenna.
-
AuthorPosts
-
Peter McKennaMemberHi,
Firstly I’m posting to this forum because the troubleshooting one is locked unless your a moderator and it’s a J2EE web app I’m working on.
I’ve installed MyEclipse 6.0 on a Ubuntu 7.10 system and like the features, but nothing seems to work properly.
Here is a list of the problems.
1. Frequently MyEclipse crashes when I select and cut some code in a jsp file.
2. Toggle comment takes a long time even if it’s just a few lines.
3. Backspacing or delete keys experience a lot of latency. It looks like the code is being re-assessed as characters are deleted, and this is slowing everything up.
4. When I exit the workspace is saved, but when I restart MyEclipse it says the workspace is unavailable. It turns out that the eclipse process is still running and I have to kill it manually.These problems are so bad I have had to resort to editing code with gedit and just use MyEclipse to compile.
My environment can be summarized as Ubuntu 7.10, Apache 2.2, Tomcat 5.5, Java 1.5, Ant 1.7.0, postgresql 8.2, MyEclipse 6.0 using Eclipse 3.3 Europa.
Hardware is a Toshiba Satellite M50 with Celeron 1.4 GHz CPU and 1 GB RAM.
The only error in the install log isInstall Action: RPMSpecFile Status: WARNING Additional Notes: WARNING - You have insufficient permissions to install this RPM package. Please try running as super-userDebian based systems don’t use RPM’s so I didn’t worry about it.
The MyEclipse initialization script follows.#!/bin/bash PATH=$PATH:./ ECLIPSE_HOME="/home/bitt/eclipse" MYECLIPSE_HOME="/home/bitt/MyEclipse_6.0" # Uncomment following line to enable Visual HTML Designer and JavaScrip Debugger #export MOZILLA_FIVE_HOME="" cd "$ECLIPSE_HOME" ./eclipse -product com.genuitec.myeclipse.product.ide -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=64M -XX:MaxPermSize=128M -Dosgi.splashLocation="/home/bitt/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp" -Dlinux.experimental=falseI set -Dlinux.experimental=false since it seemed to be causing problems and I don’t need this feature (at the moment I would settle for an editor that can simply cut and paste without crashing).
Any help will be appreciated.December 26, 2007 at 7:08 am #279979
Loyal WaterMemberCan you go through this FAQ and follow the steps mentioned here:-
http://www.myeclipseide.com/PNphpBB2-viewtopic-t-14136.htmlLet me know if the problem persists.
December 27, 2007 at 5:36 pm #280061
Peter McKennaMemberI’ve done as suggested, MyEclipse still crashes when I select text in a jsp file and is still slow when backspacing deleting. Basically I still have problems 1,2 & 3. It seems to happen most when I select more than one element block, e.g. selecting two <tr></tr> blocks is guaranteed to crash MyEclipse.
I’ve completely reinstalled eclipse-SDK-3.3.1.1-linux-gtk.tar.gz and MyEclipse 6.0.1 with no improvement.
I’ve also discovered that if I maximize the jsp file I am working with, I can select text, comment it out, cut etc without an issue, but as soon as I restore the pane to its standard size and try this I get a crash.
Here is my eclipse.ini file-showsplash com.genuitec.myeclipse.product -vm /usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java -vmargs -Xms128m -Xmx512m -Dosgi.splashLocation=/home/bitt/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp -Duser.language=en -XX:PermSize=128M -XX:MaxPermSize=256MHere is my MyEclipse.sh
#!/bin/bash PATH=$PATH:./ ECLIPSE_HOME="/home/bitt/Eclipse-3.3.1.1/eclipse" MYECLIPSE_HOME="/home/bitt/MyEclipse_6.0" # Uncomment following line to enable Visual HTML Designer and JavaScrip Debugger #export MOZILLA_FIVE_HOME="" cd "$ECLIPSE_HOME" ./eclipse -product com.genuitec.myeclipse.product.ide -vm /usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=256M -Dosgi.splashLocation="/home/bitt/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp"Here’s an extract from the confiruration details showing the java version as suggested in your FAQ.
java.version=1.6.0_03 java.vm.info=mixed mode, sharing java.vm.name=Java HotSpot(TM) Client VM java.vm.specification.name=Java Virtual Machine Specification java.vm.specification.vendor=Sun Microsystems Inc. java.vm.specification.version=1.0 java.vm.vendor=Sun Microsystems Inc. java.vm.version=1.6.0_03-b05 line.separator=There seems to be nothing written to the log.
As for the last problem (4), Eclipse not shutting down, it seems related to Eclipse rather than MyEclipse. See bug report at https://bugs.eclipse.org/bugs/show_bug.cgi?id=197428. Running the MyEclipse.sh script as root solves this problem.December 27, 2007 at 6:14 pm #280062
Peter McKennaMemberI’ve rebooted, but I’m still getting the same problems, but now at least I get some feedback when it crashes. A screen comes up with the following output.
JVM terminated. Exit code=1 /usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=256M -Dosgi.splashLocation=/home/bitt/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp -jar /home/bitt/Eclipse-3.3.1.1/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -os linux -ws gtk -arch x86 -showsplash -launcher /home/bitt/Eclipse-3.3.1.1/eclipse/eclipse -name Eclipse --launcher.library /home/bitt/Eclipse-3.3.1.1/eclipse/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.0.2.R331_v20071019/eclipse_1021.so -startup /home/bitt/Eclipse-3.3.1.1/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar -exitdata d8010 -vm /usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java -product com.genuitec.myeclipse.product.ide -vm /usr/lib/jvm/java-6-sun-1.6.0.03/jre/bin/java -vmargs -Duser.language=en -Xms128M -Xmx512M -XX:PermSize=128M -XX:MaxPermSize=256M -Dosgi.splashLocation=/home/bitt/MyEclipse_6.0/eclipse/MyEclipseSplash.bmp -jar /home/bitt/Eclipse-3.3.1.1/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jarHope this helps.
-
AuthorPosts
