Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Java Virtual Machines / Installed JREs
Java Virtual Machines / Installed JREs [message #1697341] Wed, 03 June 2015 10:02 Go to next message
Niklaus Bucher is currently offline Niklaus BucherFriend
Messages: 7
Registered: May 2015
Junior Member
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?

<?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)

index.php/fa/22059/0/

Thank you in advance for the response.

Nik
Re: Java Virtual Machines / Installed JREs [message #1697355 is a reply to message #1697341] Wed, 03 June 2015 11:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
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/
Re: Java Virtual Machines / Installed JREs [message #1697358 is a reply to message #1697355] Wed, 03 June 2015 11:33 Go to previous messageGo to next message
Niklaus Bucher is currently offline Niklaus BucherFriend
Messages: 7
Registered: May 2015
Junior Member
Thank you for the quick response.

Concerning the JRE name I created an enchancment request hopefully that it is suitable. https://bugs.eclipse.org/bugs/show_bug.cgi?id=469257

Sorry about my bad english, I meant that I want list only the user added jvms as selection options, without the standard system jvms.

Thanks

Nik
Re: Java Virtual Machines / Installed JREs [message #1697364 is a reply to message #1697358] Wed, 03 June 2015 12:38 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33258
Registered: July 2009
Senior Member
Niklaus,

No, it will always list all valid available JVMs.


On 03/06/2015 1:33 PM, Niklaus Bucher wrote:
> Thank you for the quick response.
>
> Concerning the JRE name I created an enchancment request hopefully
> that it is suitable. https://bugs.eclipse.org/bugs/show_bug.cgi?id=469257
>
> Sorry about my bad english, I meant that I want list only the user
> added jvms as selection options, without the standard system jvms.
>
> Thanks
>
> Nik


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:clone existing project
Next Topic:Beginner Level: simplest Bitbucket integration with passphrase
Goto Forum:
  


Current Time: Sun Dec 08 06:37:38 GMT 2024

Powered by FUDForum. Page generated in 0.03663 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top