java distribution, possible without setting NDDSHOME?

2 posts / 0 new
Last post
Offline
Last seen: 10 years 3 months ago
Joined: 10/09/2013
Posts: 4
java distribution, possible without setting NDDSHOME?

I'm currently upgrading Rti 5.0 to 5.1 for a Java application.   However I've been handed a new requirement: build the application and installer so that it does not rely upon %NDDSHOME%.  

Is this possible?   Previous documentation listed creation of ENV var %NDDSHOME% and putting the DLLs and Jar in your path as a redistribution requirement.   

Organization:
Offline
Last seen: 10 years 3 months ago
Joined: 10/09/2013
Posts: 4

Let me just preface this by saying this isn't my requirement, nor would I suggest doing it this way.

After some experimentation I figured out it IS possible.   the DLLs and ndds.java must be in the java.library.path and cp.   Last but not least, put your default qos settings into a file name "USER_QOS_PROFILES.xml", and place that into the folder where your application is launched from (like *.bat file or Launch4j generated exe).  

Simple, and no dependencies on ENV settings.