11 votes

Is 'swap off' safe when app is running on production?

I would just trust GNU/Linux for the management of the memory. When memory demands are high, GNU/Linux indeed will swap inactive processes to swap memory to increase available physical memory (RAM) ...
vanadium's user avatar
  • 87.9k
11 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website After downloading Netbeans 8.2, follow these steps: sudo apt autoremove netbeans cd ...
Kulfy's user avatar
  • 17.7k
6 votes

How do I install Groovy 2.5 on Ubuntu 16.04?

$ sudo apt-get install groovy2 $ groovy -v Groovy Version: 2.4.5 JVM: 1.8.0_144 Vendor: Oracle Corporation OS: Linux Ubuntu 16.04.3
Anton Balashov's user avatar
4 votes
Accepted

How do I install Groovy 2.5 on Ubuntu 16.04?

Solved by following the guide here: http://groovy-lang.org/install.html curl -s get.sdkman.io | bash source "$HOME/.sdkman/bin/sdkman-init.sh" sdk install groovy
cbll's user avatar
  • 1,590
4 votes
Accepted

How to uninstall leiningen which was installed through the script?

The script has some helpful comments at the start: # Ensure this file is executable via `chmod a+x lein`, then place it # somewhere on your $PATH, like ~/bin. The rest of Leiningen will be # ...
Zanna's user avatar
  • 70.4k
4 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

I was able to get it working by installing and setting JDK8 as default. I followed the instructions on this website: https://linuxconfig.org/how-to-install-java-on-ubuntu-18-04-bionic-beaver-linux ...
Steve Whitford's user avatar
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Same problem with me as well after upgrading to Ubuntu 18.04. Netbeans stopped working. I tried many ways changing the configuration. The primary reason for this problem is java dependency. Netbeans ...
Mukesh Singh Rathaur's user avatar
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still ...
Aidan's user avatar
  • 31
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Remove Java 11 (which is not compatible with Netbeans 8.2 on Ubuntu 18.xx): sudo apt remove netbeans sudo apt remove openjdk-11-* Install Java 8 and Netbeans 8.2 (Netbeans is about 214MB): sudo apt ...
Olimjon's user avatar
  • 7,292
3 votes
Accepted

ImageJ can't find JVM although OpenJDK 8 is installed

This is a bug. It's Reported at launchpad here titled imagej won't start (xenial). Which is itself a duplicate of this bug, which says JAVA_HOME auto-detection fails due to whitespace in update-java-...
Anwar's user avatar
  • 76.6k
2 votes
Accepted

one JVM only -- how?

There are several ways to do this, some of them may lead to problems. Remove OpenJDK the safe way by selecting everything yourself. Check what is installed and what you want to remove. Open a ...
cl-netbox's user avatar
  • 31.2k
2 votes

How to uninstall leiningen which was installed through the script?

If you are trying to remove Lein to change the version that you are using because you are running into an issue similar to the one described here on GitHub then remove Lein as mentioned by Zanna: rm -...
8bitme's user avatar
  • 163
1 vote

No Machine: Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY

jalal@manu:~/QuPath/bin$ chmod u+x ./QuPath jalal@manu:~/QuPath/bin$ ./QuPath Fixed the problem. Credits to twainwek
Mona Jalal's user avatar
  • 4,545
1 vote

How to set the project sources JDK version in Netbeans?

In your Projects tree, expand the Build Scripts and edit the build.gradle file. You should find somewhere a line that contains : sourceCompatibility = '11' Edit this line and change it to ...
FloT's user avatar
  • 2,306
1 vote

Unable to find eclipse.ini file in snap

/snap/eclipse/current$ ls -ltr total 345 -rwxr-xr-x 1 root root 140566 Mar 30 17:31 icon.xpm -rwxr-xr-x 1 root root 71473 Mar 30 17:31 eclipse -rw-rw-r-- 1 root root 137930 Apr 5 20:25 artifacts....
Clyt's user avatar
  • 111
1 vote

Netbeans does not start on fresh Ubuntu 18.04 installation

I have the same problem ,though i resolved it! Actual problem which jdk version is used by Netbeans.As in the bionic beaver comes with new jdk version ,while old cofiguration of the Netbeans use the ...
shreeshiv's user avatar
1 vote

Netbeans does not start on fresh Ubuntu 18.04 installation

What solved the problem for me was two things: Setting the jdk to Oracle Java 8 (if installed you can choose it while installing netbeans) Installing netbeans 8.2 instead of the default on Ubuntu ...
Muhammad Motawe's user avatar
1 vote
Accepted

Netbeans crashes and won't start

Netbeans thinks it's supposed to use java 8.1 still you just need to reinstall it so it can see the correct java version
DanNightmare's user avatar
1 vote

Java Runtime Environment 1.4.2 Installation

If you need an elder version of Sun Java (bought by Oracle), you need to download it from http://www.oracle.com/technetwork/java/archive-139210.html, unpack it yourself, and update your $PATH to point ...
Valeriy Solovyov's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible