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.

Edit:

  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.

Answers


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

WP7 - OrderedDictionary / alternatives?

c# .net windows-phone-7 collections

I'm completely new to C# so I'm about to make a horrible attempt at my own version of an OrderedDictionary unless someone can suggest an alternative.

SVN backup

svn backup

I've seen lots of ways to backup a single repository in subversion. Is there any way to backup all the repositories in one go. I have lots of repositories for different projects and don't want to h...

Multi-lingual projects in Visual Studio

.net visual-studio f# pex

Would anyone know if there are plans or extensions to Visual Studio to allow for multi-lingual projects?