Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237956 - dev-util/eclipse-sdk: selection of JVM in /etc/eclipserc-*
Summary: dev-util/eclipse-sdk: selection of JVM in /etc/eclipserc-*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-17 19:21 UTC by Robert W.
Modified: 2008-09-18 17:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert W. 2008-09-17 19:21:18 UTC
I'd like to see a possibility to choose the JVM, which eclipse runs with in a configuration file.

I often use different user-vms for various development and application stuff. This causes several problems due to incompatibilities. Eclipse is such a problematic candidate, which e.g. does not run under Java6. Therefore I want to select the vm it uses in a configuration file.

Thank you

Reproducible: Always

Steps to Reproduce:
Comment 1 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2008-09-17 20:30:35 UTC
I dont see why you need this. Eclipse runs perfectly well under Java 6 (probably better than with 1.5).

Besides, you can choose the JVM to run your Eclipse project directly via Eclipse configuration.

If you really need this, you can tweak the loader in /usr/bin/eclipse-3.4, but I can't think of a good use case for this
Comment 2 Robert W. 2008-09-17 22:11:22 UTC
(In reply to comment #1)
> I dont see why you need this. Eclipse runs perfectly well under Java 6
> (probably better than with 1.5).
> 

Nope, doesn't. Coredumps under ibm-jdk 1.6.0.1 on ppc32. Perfectly well is different.

> Besides, you can choose the JVM to run your Eclipse project directly via
> Eclipse configuration.
> 

I know, but that is unrelated.

> If you really need this, you can tweak the loader in /usr/bin/eclipse-3.4, but
> I can't think of a good use case for this
> 

For tomcat-6, there is such a configuration option in /etc/conf.d/tomcat-6. My usecase is avoidance of the coredump without the need to switch the vm twice or more often.
Comment 3 Alistair Bush (RETIRED) gentoo-dev 2008-09-18 07:22:21 UTC
GENTOO_VM?

GENTOO_VM="sun-jdk-1.5" /usr/bin/eclipse-3.4
Comment 4 Robert W. 2008-09-18 17:43:21 UTC
(In reply to comment #3)
> GENTOO_VM?
> 
> GENTOO_VM="sun-jdk-1.5" /usr/bin/eclipse-3.4
> 

Uh, this is a general option? Didn't know that. Thank you.