How to see which JVM an executable Jar is using?

The project uses a dll which has to be copied to JVM_HOME/bin directory. From the IDE the application works fine (the dll is copied in JAVA_HOME/jre/bin) but when I try to run the application directly, the dll is not found.


  1. It is not PATH env variable.
  2. Running it with double click results in "dll not found", but when calling with java -jar myJar.jar the application works fine.


In the Windows task manager (Ctrl+Shift+Esc), you can open "View" -> "Select columns..." -> "Image path name". There are other nice options there, too, such as "Command Line" which also shows command line arguments.

Or you can use Process Explorer, where you can double-click a process to see image path, command line arguments, and much more.

Need Your Help

How to get real JPanel Size?

java swing size jpanel

How should I get real JPanel size in JFrame?

attempt to run compile-and-go script on a cleared scope

php jquery ajax

I have a simple form validation with ajax and jquery. I've done this before but now it seems to be failing over and over.

Exception in thread “main” java.lang.NoClassDefFoundError: HelloWorld

java linux compilation terminal

I've been working on this for about an hour and thumbing through Q&As on stackoverflow but I haven't found a proposed solution to my problem. I'm sorry if this is a duplicate, but I couldn't fi...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.