It has been a long time since you asked this question, but I saw it in the "unanswered" section of StackOverflow.
I see how you create a Bash script on Linux, and here is how I understood it one fine day when setting up my eclipse.ini:
When starting Eclipse, open a terminal and run:
ps aux | grep eclipse
This will give you the result, for example:
/usr/bin/java -XX:MaxPermSize=256m -jar /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher /usr/lib/eclipse/eclipse -name Eclipse --launcher.library /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist/eclipse_1407.so -startup /usr/lib/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.dist.jar --launcher.overrideVmargs ... and so on
This is an accurate process and its arguments. You can verify this by copying and pasting it into the Terminal and running it yourself. Additional arguments are stored in eclipse.ini. For more information on setting up eclipse.ini for your script, you can check the following: What are the best JVM settings for Eclipse?
source share