LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-02-2018, 12:34 PM   #1
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 73

Rep: Reputation: 10
Eclipse starts complaining about option MaxPermSize


Novice level. Ubuntu 16.04 Eclipse Helios Service Release 2
I have Eclipse loaded and configured for C++. Open a terminal windows, cd to the appropriate directory and enter: ./eclipse
The command line shows this:
Quote:
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0.
Eclipse does start and appears to be normal.
There are no options on the command line. Go to Window -> Preferences -> Run/Debug -> Launching to find startup options. There is nothing there that looks like MaxPermSize.

I could ignore this but there may be other options getting set that I don't know about and may cause problems.

Where is this option being set and how can it be eliminated? Should it be eliminated?

Last edited by bkelly; 04-02-2018 at 12:35 PM.
 
Old 04-02-2018, 03:31 PM   #2
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 773

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
There is a good discussion about the warning here: https://stackoverflow.com/questions/...xpermsize-350m

I don't normally run Ubuntu or use eclipse but I do have 17.10 installed on a partition. Commenting out two lines in /etc/eclipse.ini got rid of the warning:
Code:
$ cat /etc/eclipse.ini 
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.dist.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist
-showsplash
org.eclipse.platform
#--launcher.XXMaxPermSize
#256m
--launcher.defaultAction
openFile
-vmargs
-Xms40m
-Xmx384m
-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
 
Old 04-05-2018, 10:46 AM   #3
bkelly
Member
 
Registered: Jan 2008
Distribution: Centos 7-4
Posts: 73

Original Poster
Rep: Reputation: 10
norobro: I found that file and it had exactly those two lines so I commented them out. When starting from the command line it has the same error message.
I think I have a version of Eclipse that is just an untar and run version. I did not know that when it was download. It resides here:

Quote:
/home/esir-dev/Eclipse/eclipse
Might that be contributing to the problem?
 
Old 04-05-2018, 06:27 PM   #4
norobro
Member
 
Registered: Feb 2006
Distribution: Debian Sid
Posts: 773

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
Quote:
Originally Posted by bkelly View Post
Might that be contributing to the problem?
Possibly. The package manager installed the eclipse excutable in "/usr/lib/eclipse". There is a symlink in that directory pointing at "/etc/eclipse.ini". You might check in "/home/esir-dev/Eclipse/" for an "eclipse.ini" file or if there is a symlink check to see where it is pointing.

After my last post I upgraded to Ubuntu 18.04 and now have run into the following bug which doesn't seem to be receiving any attention from the Debian devs. https://bugs.debian.org/cgi-bin/bugr...cgi?bug=891956
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Eclipse Foundation starts Long Term Support initiative LXer Syndicated Linux News 0 02-21-2013 09:50 PM
Mandriva 2009 starts installation and then monitor starts rolling showing color lines HubertHickey Linux - Newbie 6 12-18-2008 12:24 AM
Two Fluxbox Versions - Root starts newest,User starts oldest fortezza Linux - Software 1 05-21-2006 01:17 AM
Eclipse 3.0 starts only as root netjack Linux - Software 1 03-16-2004 02:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration