[Bug 307488] New: eclipse does not pass parameters to eclipse.bin
https://bugzilla.novell.com/show_bug.cgi?id=307488 Summary: eclipse does not pass parameters to eclipse.bin Product: openSUSE 10.3 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: felix@derklecks.de QAContact: qa@suse.de CC: dbornkessel@novell.com Found By: --- Eclipse does not work at the moment but trying to debug this a little I found a bug in the wrapper. When starting eclipse /usr/bin/eclipse get called which looks at the options and calls "/usr/share/eclipse/eclipse $ECLIPSE_OPTS $@ $VM_OPTS" so the user can pass his parameters. But "/usr/share/eclipse/eclipse just calls "/usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR". That means all parameters are ignored. The last line of /usr/share/eclipse/eclipse should be: /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR $@ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c1 --- Comment #1 from Felix Möller <felix@derklecks.de> 2007-09-04 13:38:51 MST --- This enables users to use eclipse parameters as documented in http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.pde.doc.user/gui... For example to select the vm: $ eclipse -vm /usr/java/jdk1.6.0_02/bin/java -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488 Ales Nosek <anosek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |anosek@novell.com, bnc-team- | |java@forge.provo.novell.com Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c2 Ales Nosek <anosek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Ales Nosek <anosek@novell.com> 2007-09-14 03:09:51 MST --- (In reply to comment #0 from Felix Möller)
The last line of /usr/share/eclipse/eclipse should be: /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR $@
Thanks for the report. I changed that line to /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR "$@" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c3 Scott Olcott <scottolcott@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scottolcott@gmail.com --- Comment #3 from Scott Olcott <scottolcott@gmail.com> 2007-09-20 15:56:15 MST --- *** Bug 326892 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=326892 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c4 --- Comment #4 from Scott Olcott <scottolcott@gmail.com> 2007-09-21 07:32:54 MST --- Created an attachment (id=173884) --> (https://bugzilla.novell.com/attachment.cgi?id=173884) Bug report when added $@ to command -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c5 Scott Olcott <scottolcott@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #5 from Scott Olcott <scottolcott@gmail.com> 2007-09-21 07:35:37 MST --- When adding $@ to the command I get the following error on the command line as well as the previous bug report: /usr/lib/Eclipse: No such file or directory. This happens on BETA3 and RC1. However this worked fine on 10.2 using eclipse 3.3 from factory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c6 --- Comment #6 from Felix Möller <felix@derklecks.de> 2007-09-21 07:45:20 MST --- (In reply to comment #5 from Scott Olcott)
When adding $@ to the command I get the following error on the command line as well as the previous bug report: /usr/lib/Eclipse: No such file or directory. Where does this capitalized Eclipse come from?!
This happens on BETA3 and RC1. However this worked fine on 10.2 using eclipse 3.3 from factory Could you please post the complete command and steps to reproduce the problem? For me this is working.
Where exactly did you enter the $@? Does /usr/share/eclipse/eclipse.bin -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar work? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c7 --- Comment #7 from Scott Olcott <scottolcott@gmail.com> 2007-09-21 08:52:12 MST --- In /usr/share/eclipse/eclipse I changed the last line from /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR "" to /usr/share/eclipse/eclipse.bin -startup $STARTUP_JAR "$@" just like in comment # 2 Then I type eclipse in the console and then the error occurs after the eclipse splash screen. This is on a clean install of RC1. I don't change anything else. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c8 --- Comment #8 from Felix Möller <felix@derklecks.de> 2007-09-21 10:15:35 MST --- (In reply to comment #7 from Scott Olcott) > Then I type eclipse in the console and then the error occurs after the eclipse > splash screen. This is on a clean install of RC1. I don't change anything > else. 1. Does it really start without the added "$@"? If it does: Enter an "echo $@" in /usr/share/eclipse/eclipse right before the last line and have a look at the parameters. Call /usr/share/eclipse/eclipse.bin with them directly and see which one breaks your eclipse. But that does not really have to do anything with this bugreport. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c9 --- Comment #9 from Scott Olcott <scottolcott@gmail.com> 2007-09-21 10:33:39 MST --- It really starts without the "$@" added. echo $@ ouputs -data /home/scott/.eclipse -vm /usr/lib/jvm/java/bin/java Should I be using the eclipse-archdep or just the eclipse packages? Right now I am using the eclipse-archdep packages. I will have to try later to call /usr/share/eclipse/eclipse.bin with the parameters as I am at work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c10 --- Comment #10 from Scott Olcott <scottolcott@gmail.com> 2007-09-21 18:43:55 MST --- I didn't work when I removed the $@ and added -data /home/scott/.eclipse -vm /usr/lib/jvm/java/bin/java However when I remove -vm /usr/lib/jvm/java/bin/java from the end it worked It seems that if I comment out the line in /usr/bin/eclipse that sets the -vm argument that everything works fine. However if I try to pass the -vm argument in on the command line that it fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c11 --- Comment #11 from Felix Möller <felix@derklecks.de> 2007-09-22 02:56:03 MST --- So what java versions do you have installed: # rpm -qa | egrep '(java|sun|jre)' which is beeing used: # ls -l /usr/lib/jvm/java # ls -l /etc/alternatives/java_sdk -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c12 --- Comment #12 from Scott Olcott <scottolcott@gmail.com> 2007-09-22 10:22:32 MST --- #rpm -qa | egrep '(java|sun|jre)' gives me: java-1_6_0-sun-demo-1.6.0.u1-24 java-1_5_0-sun-jdbc-1.5.0_update12-21 java-1_5_0-sun-demo-1.5.0_update12-21 java-1_6_0-sun-jdbc-1.6.0.u1-24 java-1_5_0-sun-alsa-1.5.0_update12-21 java-1_5_0-sun-src-1.5.0_update12-21 java-1_6_0-sun-alsa-1.6.0.u1-24 java-1_5_0-sun-devel-1.5.0_update12-21 java-1_6_0-sun-1.6.0.u1-24 java-1_5_0-sun-1.5.0_update12-21 java-1_6_0-sun-devel-1.6.0.u1-24 java-1_5_0-sun-plugin-1.5.0_update12-21 and #ls -l /usr/lib/jvm/java gives me: /usr/lib/jvm/java -> /etc/alternatives/java_sdk and #ls -l /etc/alternatives/java_sdk gives me: /etc/alternatives/java_sdk -> /usr/lib/jvm/java-1.6.0.u1-sun and #ls -l /usr/lib/jvm/java-1.6.0.u1-sun give me: /usr/lib/jvm/java-1.6.0.u1-sun -> java-1.6.0.u1-sun-1.6.0.u1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c13 --- Comment #13 from Felix Möller <felix@derklecks.de> 2007-09-22 12:05:09 MST --- That is strange all these lines look like on my setup. You should have a look at "Help" -> "About Eclipse SDK" -> "Configuration Details" and then post the lines beginning with "java.". As far as I understand you # /usr/share/eclipse/eclipse.bin -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar works whereas # /usr/share/eclipse/eclipse.bin -startup /usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar -vm /usr/lib/jvm/java/bin/java does not. Is that correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c14 --- Comment #14 from Scott Olcott <scottolcott@gmail.com> 2007-09-23 08:44:32 MST --- Yes that is correct. Here are the lines you asked for: java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment java.awt.printerjob=sun.print.PSPrinterJob java.class.path=/usr/share/eclipse/./plugins/org.eclipse.equinox.launcher_1.0.0.v20070606.jar java.class.version=50.0 java.endorsed.dirs=/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/lib/endorsed java.ext.dirs=/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/lib/ext:/usr/java/packages/lib/ext java.home=/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre java.io.tmpdir=/tmp java.library.path=/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/lib/i386/client::/usr/lib/jvm/java-1.6.0.u1-sun-1.6.0.u1/jre/lib/i386::/usr/lib/xulrunner-1.8.1.4:/usr/lib/xulrunner-1.8.1.4:/usr/java/packages/lib/i386:/lib:/usr/lib java.runtime.name=Java(TM) SE Runtime Environment java.runtime.version=1.6.0_01-b06 java.specification.name=Java Platform API Specification java.specification.vendor=Sun Microsystems Inc. java.specification.version=1.6 java.vendor=Sun Microsystems Inc. java.vendor.url=http://java.sun.com/ java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi java.version=1.6.0_01 java.vm.info=mixed mode 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_01-b06 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488#c15 Rob Hasselbaum <rob@hasselbaum.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rob@hasselbaum.net Severity|Major |Critical --- Comment #15 from Rob Hasselbaum <rob@hasselbaum.net> 2007-11-17 10:20:03 MST --- I can confirm this bug, too, and it is very serious because it means that Java heap size parameters are not getting passed to the JVM. As a result, Eclipse's maximum heap size is stuck at 64MB and, thus, it crashes constantly on large projects. I believe this is the root cause of bug 335552. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488 User felix@derklecks.de added comment https://bugzilla.novell.com/show_bug.cgi?id=307488#c16 --- Comment #16 from Felix Möller <felix@derklecks.de> 2007-12-16 16:34:02 MST --- Created an attachment (id=187785) --> (https://bugzilla.novell.com/attachment.cgi?id=187785) path to pass the parameters I do not know anymore what to do to get this bug solved. I am attaching the patch which fixed the problem. PLEASE apply! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488 Felix Möller <felix@derklecks.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Java |Java Product|openSUSE 10.3 |openSUSE 11.0 Version|Beta 2 |unspecified -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488 User anosek@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=307488#c17 --- Comment #17 from Ales Nosek <anosek@novell.com> 2007-12-19 08:52:52 MST --- Oh, I'm sorry, I made a mistake when fixing this in comment #2. I'll fix it now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=307488 User ast@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=307488#c21 Anja Stock <ast@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #21 from Anja Stock <ast@novell.com> 2008-01-09 02:59:29 MST --- released -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com