Error while running Jprofile8

2k Views Asked by At

I am getting following error while running /tmp/jprofiler8/bin/jpenable

No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.6 and at most 1.7. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM. You can also try to delete the JVM cache file

I have also set INSTALL4J_JAVA_HOME to point to suitable JVM.

Java version on my machine is 1.4.2.

Can anyone please suggest what might be wrong or missing?

1

There are 1 best solutions below

0
On

Unfortunately you did not mention details about your environment, so I don't know which Linux distribution you use.

There are some options though:

  1. install a current JRE alongside the installer for JProfiler

As you can't install or update Java, you could provide a JRE in a kind of "portable application" setup. Simply unzip the server jre Oracle provides or (if you are not on an x64 architecture) unzip the jdk you also can download from Oracle.

But if the code you want to profile is limited to your pre-installed Java 1.4 you will run into another problem, because as far as I know Java 1.5 is the minimum JProfiler expects

  1. use a different machine for profiling

Unless your code depends heavily on the environment you run it in you can even take a Windows 8.1 machine and profile the code there. Code that is slow is slow on any operating system. Or make use of a different Linux computer.