Page tree
Skip to end of metadata
Go to start of metadata

Using LUNA in 64bit Windows requires a few more steps.


To support Jpeg 2000 creation

For the processing and creation of Jpeg2000 files you will need to install "Microsoft Visual C++ 2010 Redistributable Package (x64)"

Once installed you can test to see if your install is working by launching kdu_compress.exe located in the tomcat/bin directory. It will just launch a command prompt and you will see some text scrolling by then the window will close. 

If you did not install "Microsoft Visual C++ 2010 Redistributable Package (x64)" you will get an error similar to the following

Java Service Wrapper

LUNA's tomcat runs within Tanuki Software's Java Service Wrapper . This wrapper creates a more stable environment for LUNA's tomcat to run. If for any reason the Java Virtual Machine (JVM) crashes, hangs or is not available for some reason, the wrapper will restart the service. This wrapper also allows for more convenient creation of a background service and simpler configuration.

For the most part there is a community edition of the Java Service Wrapper that LUNA utilizes for the majority of installs. However there is not a community version for 64 bit windows. We assume this is the case because of the complexity creating such a version and it's not as simple to properly support windows 64bit.

To make use of the Java Service Wrapper on 64 bit windows, you must purchase the standard edition and add the license to tomcat/conf/wrapper.conf

Running tomcat without the Java Service Wrapper

If you choose not to purchase this license, you can launch tomcat as follows 

In a command prompt change to the drive where you have installed LUNA


next change to the directory where LUNA's tomcat's bin directory is.
cd "C:\My LUNA Install Directory\tomcat\bin"

run this launch command

"..\..\jre\bin\java" -Djava.endorsed.dirs="..\bin;..\common\endorsed" -Dcatalina.base=.. -Dcatalina.home=..\temp -Djava.awt.headless=true -XX:MaxPermSize=256m -Xmx1024m -Djava.library.path="..\lib;." -classpath "..\..\jre\lib\tools.jar;..\bin\bootstrap.jar" org.apache.catalina.startup.Bootstrap start

Here is a little batch script that you can place the the tomcat/bin directory that will run the above command run.bat  If you installed into a drive other than C: you will need to edit this file and make the change.


if you Installed with the 32bit option


You will also need to update the kdu file in the tomcat/bin directory. Unzip the attached files and place the contents in the bin directory

  • No labels