Deploying JAVA with RXTX
From Rxtx
cheap cyclobenzaprine order tenuate cheap diethylpropion order rivotril sagem ringtones ultram online mono ringtones buy tenuate free samsung ringtones buy rivotril free nextel ringtones clomid online buy ativan buy tramadol didrex online free sprint ringtones but ultracet cheap tramadol propecia online sharp ringtones tenuate online buy tramadol real ringtones nokia ringtones cialis online ativan online cingular ringtones buy ultram viagra online cheap clonazepam cheap viagra sprint ringtones zoloft online cheap zanaflex buy carisoprodol free nokia ringtones free sony ericsson ringtones ultracet online samsung ringtones zoloft cheap ativan online levitra qwest ringtones free mp3 ringtones samsung ringtones free real ringtones cheap lortab alltel ringtones online hoodia zyban online alprazolam online cheap wellbutrin didrex online sagem ringtones cheap nexium lorazepam online clonazepam online cheap meridia cingular ringtones midi ringtones meridia online celexa online cheap lisinopril but sildenafil free mono ringtones free midi ringtones nexium online free nokia ringtones xanax online buy didrex order rivotril samsung ringtones tenuate online cheap diazepam diethylpropion cheap zoloft midi ringtones xanax online propecia online cheap cyclobenzaprine wwe ringtones free qwest ringtones free music ringtones ultracet online sonyericsson ringtones hoodia online free sonyericsson ringtones free free ringtones buy meridia free cool ringtones phentermine online buy adipex paxil online adipex online mtv ringtones free wwe ringtones cheap tramadol cheap phentermine cheap ortho buy norco phentermine online buy zoloft adipex cheap clonazepam didrex online free mp3 ringtones clomid online rivotril online free alltel ringtones funny ringtones cheap pharmacy online levitra free samsung ringtones free mtv ringtones viagra online levitra online cheap valium vicodin online soma online free sonyericsson ringtones sagem ringtones norco online cheap phentermine lorazepam online zanaflex online kyocera ringtones free sharp ringtones propecia online sharp ringtones samsung ringtones prozac online valium online free mp3 ringtones cheap zyban free mono ringtones free ericsson ringtones cyclobenzaprine online free sagem ringtones funny ringtones cheap viagra alprazolam online mp3 ringtones cheap celexa cheap phentermine funny ringtones cheap levitra cheap tramadol cheap sildenafil order wellbutrin wellbutrin online lorazepam online zanaflex pharmacy online online norco online adipex online free real ringtones cheap propecia but hydrocodone free sony ericsson ringtones free kyocera ringtones didrex online motorola ringtones cheap meridia ativan online propecia online fioricet online free sagem ringtones cheap levitra buy carisoprodol lorazepam online free jazz ringtones mono ringtones sony ringtones free ringtones free online pharmacy carisoprodol online buy pharmacy online cheap viagra real ringtones free punk ringtones sony ringtones cheap lorazepam cheap didrex qwest ringtones punk ringtones zanaflex online free alltel ringtones real ringtones norco online cyclobenzaprine lisinopril online cheap carisoprodol ericsson ringtones buy zyban punk ringtones cheap phentermine cheap lisinopril online vicodin free cingular ringtones zanaflex online Saving the RXTX jar-file and DLL in the JRE is not optimal if you indend to distribute your JAVA application and do not want to bundle it with a customized JRE.
Windows
For Windows, the Janel JAVA launcher can be used.
- create a directory for your application, and save the Janel executable and lap-file to it;
- create a subfolder named "classes" and save the jar-file of your application as well as the RXTXcomm.jar in it;
- create a subfolder named "lib" and save the rxtxSerial.dll to it;
- make the following entries in the lap-file:
- "-Djava.class.path=;${SELF_HOME}\classes\YourApp.jar;${SELF_HOME}\classes\RXTXcomm.jar;"
- "janel.main.class=YourAppMainClass"
- "janel.library.path.dir=${SELF_HOME}\lib"
unjar
It should be possible to unjar the RXTXcomm.jar and then add the .classes into YourApp.jar. This should eliminate the secon .jar and the need to modify java.class.path. Please clarify the steps if you pursue this.
I was successful in doing this on my Mac. First, unzip the RXTX.jar file. I didn't try unjar, as unzip worked fine. Then, place the gnu folder in the same folder as your application jar file. Execute the following command from the command line:
jar uvf Your_Apps_Name_here.jar gnu
to update the jar with the contents of the classes in the gnu folder. Your app will now run by double clicking on it, provided the .dll or .jnilib library is in the same folder. I would love to include the OS specific libraries in the jar for a single, monolithic package, but after researching this on the web, it is apparently very difficult at best and probably impossible.
Other Platforms
It would be great if someone with access to Linux boxes could provide us with similar recipes for their operating system.
The above unjar instructions and subsequent jars worked fine for my app on both Mac and Windows machines.