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) ...
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 ...
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
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
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
# ...
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
...
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 ...
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 ...
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 ...
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-...
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 ...
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 -...
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
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 ...
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....
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 ...
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 ...
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
jvm × 32java × 21
jdk × 5
netbeans × 4
eclipse × 3
jre × 3
sdk × 3
14.04 × 2
12.04 × 2
software-installation × 2
crash × 2
openjdk × 2
16.04 × 1
server × 1
package-management × 1
13.04 × 1
snap × 1
freeze × 1
performance × 1
swap × 1
upstart × 1
log × 1
minecraft × 1
oracle × 1
memory-usage × 1