Project

General

Profile

Bug #275

Service Does Not Start on Windows 2008 R2

Added by Luke Murphey almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
11/27/2010
Due date:
11/29/2010
% Done:

100%


Description

The NSIA service does not start correctly on Windows 2008 R2. The problem appears to be that Java is not added to the path on Windows 2008.

History

#1 Updated by Luke Murphey almost 14 years ago

http://stackoverflow.com/questions/3038140 includes code to help find the Java path but no such registry key exists on Windows 2008 R2.

#3 Updated by Luke Murphey almost 14 years ago

The system32 directory is under echo windir\system32 (http://en.wikipedia.org/wiki/Special_Folders) and can be accessed with:

Environment.GetFolderPath(Environment.SpecialFolder.System)

(http://www.dotnetspider.com/forum/62278-function-get-system-folder.aspx)

#4 Updated by Luke Murphey almost 14 years ago

  • Assignee set to Luke Murphey
  • Target version set to 1.0.1

#5 Updated by Luke Murphey almost 14 years ago

More information about how Java paths are structured: http://javahowto.blogspot.com/2006/05/javahome-vs-javahome.html

#6 Updated by Luke Murphey almost 14 years ago

Added auto-detection of the Java executable. Also, added the ability to specify the Java interpreter on the command-line be defining JVM.Executable in config.ini.

#7 Updated by Luke Murphey almost 14 years ago

Need to add a note to the documentation about how to start NSIA on Windows server since Java is not loaded in the path, registry or in an environment variable.

#8 Updated by Luke Murphey almost 14 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF