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

sum up values in an array php

php arrays

I have got an array of site page view from various browsers and I am trying to search unique occurrence of specific browser from the the array and also sum up the total values for each.

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.