Sun microsystem is not listed in jprofiler installation process - jprofiler

i am installing jprofiler and need to provide JVM vendor, version and mode, sun microsystem is not listed there what should I pick instead?
thanks!

You should use "Oracle" instead of "Sun Microsystems".

Related

JProfiler doesn't detect running AdoptOpenJDK 11 openJ9

I'm trying to profile a Java app running with AdoptOpenJDK 11 version OpenJ9.
My problem is that, when I try to attach JProfiler on my app, it doesn't detect the running instance.
I'm using the last version of JProfiler (11.1.4).
Is it compatible with this JRE?
Is there something to do/configure to make it working?
Best regards
As of JProfiler 11.0, attach mode is not supported for OpenJ9 JVMs. Also, attach mode is not enabled by default for OpenJ9.
When passing the -agentpath VM parameter as given by the integration wizards, profiling OpenJ9 JVMs is fully supported.

Navigate | Class or File popup closes immediately in IntelliJ IDEA 2017.2

I'm having a annoying problem since I update IntelliJ IDEA Community to this version:
IntelliJ IDEA 2017.2
Build #IC-172.3317.76, built on July 15, 2017
JRE: 1.8.0_152-release-915-b5 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.8.0-53-generic
There is a problem with "Main Menu/Navigate/Class" action. When a trigger this action using keyboard shortcut or menu access, most of time the "Enter class name" window is showed, but closes immediately.
Sometimes the action works ok, but most of time, not.
I'm using linux Mint 18.2 (Cinnamon).
It's a known issue, please follow it here for updates:
IDEA-173000 Navigate | File and Class popups disappear
Workaround (add the following via Help | Edit Custom VM Options):
-DactionSystem.xWindow.remove.focus.from.nonFocusable.popups=false
Downgrading to 2017.1 version is another option.
UPDATE: the issue is resolved in 2017.2.3 release.
According to the release notes it's fixed in the latest release - 2017.2.3 (build number IU-172.3968.16) - 173000 is in the list: https://confluence.jetbrains.com/display/IDEADEV/IntelliJ+IDEA+2017.2.3+Release+Notes?fromIDE
What ultimately worked for me was adding -Dfocus.follows.mouse.workarounds=true to my custom VM options (Help > Edit Custom VM Options).
I found this in https://youtrack.jetbrains.com/issue/IDEA-173000, mentioned above.
I use a tiling window manager (i3) which I suspect is related.

Error while running Jprofile8

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?
Unfortunately you did not mention details about your environment, so I don't know which Linux distribution you use.
There are some options though:
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
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.

What version of Java is CloudHub using?

Can anyone tell me what version of Java the various versions of CloudHub are running? I'm guessing there's a document somewhere that details as much, but I haven't been able to find it.
I don't know of any doc specifying this, but I can see that as of today, CloudHub runs with: 1.6.0_24 Vendor: Sun Microsystems Inc..

No unprofiled JVM found

I have WebSphere 7 Aplication Server. There is Java VM 1.6 installed. Linux.
Java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr10fp1-20120321_01(SR10 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
J9VM - 20120202_101568
JIT - r9_20111107_21307ifx1
GC - 20120202_AA)
JCL - 20120320_01
I try to use jProfiler, using trial lisence. But don't want to change something on the server this time.
So I download jprofiler for linux to my server.
Then I run bin/jpenable and it says that:
No unprofiled JVM found
Now I don't know what to do, googling doesn't give any useful result. Can You tell me in what way I must search a problem? May be incorrect path or something else. I hope You'll understand my english (it is not so good).
Have a look at this help pdf, in specifically check out Attach to local JVM session.
Also, have a look at this answer and this question.
hope it will help..