Deploying JAVA with RXTX
From Rxtx
supporto da auto pda telefonino con mp3 radio sud est dispense ecdl citta di bologna vestiti oops www affari shower sex microcosmos Angelo demone tervis giochi che ce editor affitto appartamento salento muvo 2 padre ricco tracolla chitarre e bassi behringer vmx300 mixer Albergo agrigento sei la fine del mondo Annuncio casa treviso carlo masi carmen russo porno Albergo orvieto desktop packard bell toys giocattoli casa nuova guta 8 ani download bilancio consolidato file viacces tel aviv stock exchange benq dc e53 cashmire Aeroporto catania apple 20gb clash the banca 121 Assicurazione auto on line vieo porno Alta scuola spagnola san salvatores gps vocale bikini ukrainian girl Asian porn archive denon dcd 485 Aspesi canelli mini cooper 1300 www vnn org eau de monteil holt renfrew Agv ariston avtl 109 Assicurazione auto polizza rc Annuncio ragazzo mobile televisione Amantea barzellette porno wind adsl www equilon it macinare i confini del proibito busty barbarella boston intrattenimento ladro e gentiluomo mercedes g 270 ferrino sacco jump superstars ha un nuovo spot cuffia e microfono usb dresser wheel loader boem ray gelato voice recorder 256 mb y 1 2 argento galleria foto fanni cadeo nuda Albergo 2 stelle ischia Assicurazione salute macchina da cucire antica ministero del tesoro hard disck 500 rispondi a sto cazzo di telefono Alenia nola officine moto cardio fitness equipmente producer milano san pietroburgo la grande sfida office small business 2003 xsara picasso 18 gratis s sct html killing of berg radiatore liquido calcolo tfr pinocchio avventure macromedia flash mx 2004 ita fotos de borrachas gratis mono mario vacanza toscana agriturismo obsesion aventura infermiere donne programma fotografia pino daniele dammi una seconda vita fotocopiatrici xerox ferrovie tedesche mib men in black the series photosmart m23 kuypers karel www jetix it indagine speciale godzilla contro i robot cuculo diciottenni al sole racconti famiglia pecorara lg tv plasma rz42 cellulare samsung z510 talk pronostico tatoo ascanio planetx smart creamstyle sex nere moto cbr 900 il giorno della luna nera thanos kalliris oregon ba 888 ati radeon x600 pro 256mb macchine calzifici aspirapolvere con battitappeto adenite tema di italiano salla guerra in iraq sacca passeggino rabarbaro zucca moda accessori www raiuno it asus gps pda jeep grand cherokee overland sat upload center nec e313 sbloccare yagan left outside alone spartiti amanda white foto porno di amanda white jvc dvd vhs terme bagno vignoni gobierno municipal del grimaudo nomadi mediterraneo angela fiorella himzo disco di avvio xp termometro per il vino young nikeid com europe del turco hotel france sipix sp 1300 amplificatori hifi child lydia maria cazuza exagerate zelig music mp3 di slide along side ray ban 3029 scarpe usate donna rosmari wharfedale 9 3 mo better blues luci per spettacolo josi sexy shop napoli e provincia riviera fregene ragazze alla finestra david byrne asterix e la grande guerra borsa italia una demo per battle mages mercedes c sw ostaggio turco esecuzione vacanze ottobre barbosa janet peru casting cinema midi alexia digital voice recorder usb escort uomini digitale sat nike shox r4 km0 lancia thesis auto km 0 il cacciatore sony cybershot p200 i giochi di zorro sunsine libri di testo in francese ooops celeb coen joel s giorgio asciugabiancheria circolari persomil consiglio regionale sardo pietro il grande corsa con le macchine samos belle rosse manu chau foto pancioni 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.