TagIDE

Eclipse commandline option for workspace and settings

I have separate Eclipse packages installed and don’t want them to use the default .eclipse setting folder in Home.

Suppose following layout

#unpacked Eclipse archive
/opt/eclipseCdt

#chosen configuration folder
~/config/eclipseCdt

#chosen workspace folder
~/workspaceCdt

Then a call/script/menuitem of the following type (single line) will use those:

/opt/eclipseCdt/eclipse 
-vmargs -Dosgi.instance.area.default=~/workspaceCdt -Dosgi.configuration.area=~/config/eclipseCdt

Benefits:

  • use of any folders
  • clean updates by deleting old eclipse-folder and unpacking new version
  • no more fiddling and remembering to put entries in eclipse.ini

Netbeans 10 (incubating) – 30 available Plugins?

Since the move to apache the included Netbeans plugin sources (“Update Centers) seriously lost it’s appeal.

To have access to the most basic needs, head to Tools->Plugins->Settings and Add:

  • enabling “Netbeans 8.2 Plugin Portal” yields 20 additional plugins
  • adding
    http://plugins.netbeans.org/nbpluginportal/updates/8.2/catalog.xml.gz

    gets you 171 (26 shared with “Plugin Portal)

  • adding
    http://plugins.netbeans.org/nbpluginportal/updates/8.0/catalog.xml.gz

    will add 170 (12 shared with “Plugin Portal”, 69 shared with the 8.2 above)

In total 271, much better. Whether all of them are useful or even work is another question entirely. “Quick Opener” did, so I’m happy for now.

Btw, did anyone else notice that the windows executable properties have still version 9 listed?

 

Netbeans 10 – Cannot find Java 1.8 or higher

Freshly unpacked Netbeans 10 won’t run with either JDK 8 or 11 in PATH and JAVA_HOME.

Solution, either:

  • run netbeans with jdkhome parameter, pointing to your jdk-base folder, e.g.
    netbeans64 --jdkhome c:\jdks\jdk11
  • for a more permanent solution go to subfolder “etc” and open netbeans.conf search the line with netbeans_jdkhome and set the folder there (also uncomment/ remove hashsign) like so
    netbeans_jdkhome="c:\jdks\jdk11"

© 2021 Alim Özdemir

Theme by Anders NorénUp ↑