Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » eclipse.ini JVM setting keeps getting removed.
eclipse.ini JVM setting keeps getting removed. [message #1729037] Sat, 09 April 2016 20:45 Go to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Mars 4.5.2
Windows 7 SP1

If specifying the JVM in the eclipse.ini file is a best practice, as suggested in this(https://www.eclipse.org/forums/index.php/m/1317077/?srch=eclipse.ini+default#msg_1317077) forum thread, why does my JVM setting (-vm C:\PROGRA~1\Java\jdk1.8.0_73\bin\javaw.exe) in the eclipse.ini file get removed with each update/install using the Help -> Install new software feature method.

The jvm is the only setting that is being added/changed in the eclipse.ini file. So I can not tell if the JVM setting is getting removed or the whole .ini file is being replaced with the default.


Oxygen 3a
Windows 10
Re: eclipse.ini JVM setting keeps getting removed. [message #1729047 is a reply to message #1729037] Sun, 10 April 2016 08:31 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Paul,

Comments below.

On 09.04.2016 22:45, Paul Roubekas wrote:
> Mars 4.5.2
> Windows 7 SP1
>
> If specifying the JVM in the eclipse.ini file is a best practice, as
> suggested in
> this(https://www.eclipse.org/forums/index.php/m/1317077/?srch=eclipse.ini+default#msg_1317077)
> forum thread, why does my JVM setting (-vm
> C:\PROGRA~1\Java\jdk1.8.0_73\bin\javaw.exe) in the eclipse.ini file
> get removed with each update/install using the Help -> Install new
> software feature method.
I'm kind of doubtful that can be a general problem, otherwise a great
many people would find their IDE just stops running after each update.
What exactly does your *.ini look like? Do you have it across two
separate lines? And best confirm this theory about the whole file being
replaced verses just that one option being removed; neither of which
can be generally the case, or I'd be losing a lot of settings all the
time... An update can definitely update the *.ini, so if there's
something a little wrong with the structure, that might lead to problems
with correct update.
>
> The jvm is the only setting that is being added/changed in the
> eclipse.ini file. So I can not tell if the JVM setting is getting
> removed or the whole .ini file is being replaced with the default.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: eclipse.ini JVM setting keeps getting removed. [message #1729050 is a reply to message #1729047] Sun, 10 April 2016 11:45 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Line 5 and 6 up from the bottom are all I add.


-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.rcp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\PROGRA~1\Java\jdk1.8.0_73\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m


Oxygen 3a
Windows 10
Re: eclipse.ini JVM setting keeps getting removed. [message #1729054 is a reply to message #1729050] Sun, 10 April 2016 12:10 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 10.04.2016 um 13:45 schrieb Paul Roubekas:
> -vm C:\PROGRA~1\Java\jdk1.8.0_73\bin\javaw.exe

The above line must be split into two lines:

-vm
C:\PROGRA~1\Java\jdk1.8.0_73\bin\javaw.exe

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: eclipse.ini JVM setting keeps getting removed. [message #1729056 is a reply to message #1729054] Sun, 10 April 2016 12:22 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
I am confused. It is split into two lines. Just as a double check I went back and looked at the original file. And it is split into two lines. I have embedded a screen capture as proof.

index.php/fa/25609/0/
  • Attachment: Snap1.jpg
    (Size: 229.02KB, Downloaded 3067 times)


Oxygen 3a
Windows 10

[Updated on: Sun, 10 April 2016 12:23]

Report message to a moderator

Re: eclipse.ini JVM setting keeps getting removed. [message #1729092 is a reply to message #1729056] Mon, 11 April 2016 07:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Paul,

Try adding it earlier in the file. Also, the fact that Thunderbird
shows you post as a single lined suggests that you have perhaps a
mixture of different line endings. Use an editor that can show the
control characters and check that you don't have a mixture of line
ending conventions. Then add something else to the file, e.g., some -D
option (-Dorg.example.test=true) and see if that's preserved or not
during updates.

In the end, if there is a problem, you will need to describe a set of
steps that anyone can follow that will reproduce the problem. As I
said, a problem as serious as what you suggest is highly unlikely to go
unnoticed for long...

On 10.04.2016 14:22, Paul Roubekas wrote:
> I am confused. It is split into two lines. Just as a double check I went back and looked at the original file. And it is split into two lines. I have embedded a screen capture as proof.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: eclipse.ini JVM setting keeps getting removed. [message #1729116 is a reply to message #1729092] Mon, 11 April 2016 10:44 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
index.php/fa/25622/0/
  • Attachment: Snap1.jpg
    (Size: 1.13MB, Downloaded 2989 times)


Oxygen 3a
Windows 10
Re: eclipse.ini JVM setting keeps getting removed. [message #1729118 is a reply to message #1729116] Mon, 11 April 2016 10:51 Go to previous messageGo to next message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
Just the -vm lines are removed. The "-Dorg.example.test=true" stays.

index.php/fa/25623/0/

index.php/fa/25624/0/

index.php/fa/25625/0/

  • Attachment: Snap2.jpg
    (Size: 1.09MB, Downloaded 2865 times)
  • Attachment: Snap3.jpg
    (Size: 1.35MB, Downloaded 3081 times)
  • Attachment: Snap4.jpg
    (Size: 1.02MB, Downloaded 2843 times)


Oxygen 3a
Windows 10
Re: eclipse.ini JVM setting keeps getting removed. [message #1729138 is a reply to message #1729118] Mon, 11 April 2016 13:18 Go to previous message
Paul Roubekas is currently offline Paul RoubekasFriend
Messages: 207
Registered: March 2012
Location: Chattanooga, TN USA
Senior Member
BugZilla report created
link


Oxygen 3a
Windows 10
Previous Topic:Shell Enters Twice?
Next Topic:TEAM option missing from menu
Goto Forum:
  


Current Time: Thu Mar 28 12:04:13 GMT 2024

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

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

Back to the top