|
Re: Java Virtual Machines / Installed JREs [message #1697355 is a reply to message #1697341] |
Wed, 03 June 2015 11:07 |
Ed Merks Messages: 33258 Registered: July 2009 |
Senior Member |
|
|
Nik,
Comments below.
On 03/06/2015 12:02 PM, Niklaus Bucher wrote:
> Dear community
>
> I'm using eclipse installer build 1216 using linux.
>
> I have 2 Questions:
>
> 1) If I add the following tasks to my setup, the JVM appears in Oomph Java Virtual Machines under User and Window>Preferences>Java>Installed JREs which name is set to 'JRE for JavaSE-1.8'. How can I change the name to jdk8?
No, right now the perform for that task just does
vmStandin.setName("JRE for " + version);
So there's no control over the label. That would need to be modeled in
the JRE Task, which would be an enhancement request...
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xmi:XMI xmi:version="2.0"
> xmlns:xmi="http://www.omg.org/XMI"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:jdt="http://www.eclipse.org/oomph/setup/jdt/1.0"
> xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
> xsi:schemaLocation="http://www.eclipse.org/oomph/setup/jdt/1.0 http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/models/JDT.ecore">
> <setup:VariableTask
> name="jre.1.8.location"
> value="/opt/java/java8"/>
> <jdt:JRETask
> id="jdk8"
> version="JavaSE-1.8"
> location="${jre.1.8.location}"/>
> </xmi:XMI>
>
>
> 2) Is there a possibility to display the user Jvm's (.eclipse/org.eclipse.oomph.jreinfo/extra.txt) only on the simple mode installer page? (See marked elements at attached file)
I'm not sure I parse what the word "only" implies in this sentence. You
want only the user added JVMs displayed in the dropdown? Or you're
asking if you can only display the user added JVMs in the installer
page? In any case, wherever the dropdown is available, the Java Virtual
Machines dialog is available, and you can use that to make a
selection. Your selections are also remembered across all
applications, so you'll generally get what you selected the last time,
so if that's the user added one, that's what you'll get...
>
>
>
> Thank you in advance for the response.
>
> Nik
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03663 seconds