Questions tagged [jvm]

JVM - Stands for Java Virtual Machine.

31 questions
20
votes
7 answers

Netbeans does not start on fresh Ubuntu 18.04 installation

After fresh Ubuntu 18.04 installation and afterwards a netbeans installation, netbeans does not start. netbeans was installed with sudo apt install netbeans some other java programms (at least Eclipse) do not start too. when starting netbeans from…
neoexpert
  • 292
6
votes
3 answers

android studio does not launch in ubuntu 14.04

i am trying to install android studio in ubuntu, but when i execute the studio.sh, i get the following error: Unrecognized VM option 'MaxPermSize=350m' Error: Could not create the Java Virtual Machine. i have java and jdk installed, my JAVA_HOME:…
rainman
  • 219
6
votes
1 answer

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

My app has several JVMs running in Linux and swap usage is mostly zero. However, sometimes by high traffic or slowness of database, JVMs consume swap memory, which is not recommended. If it happens, my plan is to recycle swap by 'swap off/swap on'…
Won
  • 169
5
votes
1 answer

Netbeans crashes and won't start

Netbeans, javac and Java were all working fine until I installed Java 9. Now: thufir@doge:~$ thufir@doge:~$ sudo update-java-alternatives --list java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 java-8-oracle …
Thufir
  • 4,631
4
votes
2 answers

How do I install Groovy 2.5 on Ubuntu 16.04?

sudo apt-get install groovy provides me with: groovy -v Groovy Version: 1.8.6 JVM: 1.8.0_131 Vendor: Oracle Corporation OS: Linux However, this version of Groovy is very old. How do I get the newest one installed? - 2.5?
cbll
  • 1,620
4
votes
3 answers

How to uninstall leiningen which was installed through the script?

I have installed leiningen using this script. How can I uninstall it? I tried this SO solution but it says self-install is deprecated.
4
votes
1 answer

Where can I find OpenJDK JVM crash log

One of my java application crashed. I want to find the JVM log to see what happened. Where can I find JVM logs?
Simon Tremblay
  • 196
  • 1
  • 2
  • 8
4
votes
0 answers

How to use Alternative JVM for OpenJDK, using Zero/Shark on Ubuntu?

I have installed openjdk-8-jre-zero_8u212-b03-0ubuntu1.16.04.1_amd64.deb from http://debina.ktu.lt/ubuntu/pool/universe/o/openjdk-8/ This suppose to be an Alternative JVM for OpenJDK, using Zero/Shark. When I type java -zero -version I get: openjdk…
adamm
  • 141
  • 4
3
votes
1 answer

ImageJ can't find JVM although OpenJDK 8 is installed

I installed ImageJ (sudo apt install imagej) on Ubuntu 16.04, but it does not work: $ imagej Open other images in this ImageJ panel as follows: imagej -p 1 [ ... ] No JVM found to run ImageJ Please apt-get install a JVM…
Byte Commander
  • 110,243
3
votes
0 answers

can't run netbeans as a normal user!

I have installed netbeans 7.3.1 on ubuntu 13.04 by running the "netbeans-7.3.1-linux.sh" file downloaded from netbeans.org the problem is whenever I run netbeans as normal user it stuck on loading modules and then exits and no error is displaying…
2
votes
2 answers

A fatal error has been detected by the Java Runtime Environment

I wanted to install WindRiver Workbench for VxWorks development on my Linux host. I got the correct license file and everything but my JRE seems to crash, I get the error: Launching installer... # # A fatal error has been detected by the Java…
stdcerr
  • 1,100
  • 5
  • 20
  • 37
1
vote
0 answers

Bring up Java console when started as service

So I have a small situation. I am running a Java application on a Ubuntu 14.04 server. At one point, I opted to use Screen and some custom supervisor scripts to keep the application running. The supervisor process made sure the Java application was…
Atomiklan
  • 405
1
vote
1 answer

Java Error javax/swing/text/GlyphView.getBreakSpot Found on running a command

I was trying to run a software dbvis on linux and found the following error about java CompilerOracle: exclude javax/swing/text/GlyphView.getBreakSpot Anh solution.
1
vote
2 answers

Java Runtime Environment 1.4.2 Installation

I´ve got HP Proliant dl380 g3 and I can´t use few things from the "iLO(integrated lights-out)" because this tool needs the Java Runtime Environment 1.4.2 to run in my browser HP does not support this Old server so I tried to install it by…
J.C.T.
  • 11
1
vote
2 answers

How to find the port number of jvm which is running in ubuntu

How can I know the debug port number of jvm (Java Virtual Machine) in Linux?
1
2 3