Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JConsole

NayasMar 15 2011
Hi All,

I am totally new with this tool and I dont know much about java.
I am using Oracle e-Business R12.0.5 along with java 1.5.0.

I am trying to monitor the memory usage of the different JVM from the application.
When I start JConsole with the following syntaxe, it gives me error:
 ./jconsole pid

 Exception in thread "main" java.lang.UnsatisfiedLinkError: sun/misc/Perf.registerNatives() V
My jvm was started with the -Dcom.sun.management.jmxremote as specified in the doc on Metalink.

Anyone have an idea what is that exception error?

Thank you very much,
Have a nice day

Comments

cormaco

This must have been answered already,

Yes indeed, you could have searched yourself:

https://community.oracle.com/message/14875278

Paavo

Just to find a quick solution - what is the best way to launch 18.2 sqldeveloper again so that it opens the dialog which asks the path to jdk ?

Can't recall in which mysterious win-directory the config file was where I can fiddle with the java-home stuff.

rgrds Paavo

Paavo
Answer

I got my subversion connections back by downgrading the JDK as follows:

1st downloaded jdk from here: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

pastedImage_0.png

2nd looked hard where the configuration files are for sqldeveloper

For casual sql writer it is not straightforward to drill down to C:\Users\mywinuserx\AppData\Roaming\sqldeveloper\18.2.0

3rd altered the path to java - I remember that the sqldeveloper's new versions typicall ask where it is, but I can't say where it stores that informatiion

and find a product.conf file from there where the path to jdk can be altered e.g. like this:

# SetJavaHome /path/jdk

SetJavaHome C:\opt\Java\jdk1.8.0_181

4th and llaunched 18.2 sqldeveloper and my subversions returned

lets see if everything now works as it used to

During install of the java, noticed that it will have discontinued support for corp. users, so I assume that sqldeveloper will be in sync with java later on.

Btw. it woudl be cool to have the same kind of versioning and releasing for java as we have now for sqldeveloper, apex and ords. Simplicity to filenames and so on

rgrds Paavo

Marked as Answer by Paavo · Sep 27 2020
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 12 2011
Added on Mar 15 2011
0 comments
1,011 views