|
From: Fred T. <ft...@sy...> - 2003-03-14 02:35:05
|
Hi again, Sorry, my first post to the list and I ended up figuring things out 5 minutes later. The trick is to dig into the jar file and find the main class, include the jar file in your class path and everything else works the same way. So, it works fine. Is this the best way to go? Thanks, Fred Toth At 09:27 PM 3/13/03 -0500, you wrote: >Hi all, > >I've just found my way to wrapper and I've got WrapperSimpleApp working >fine when I am running a class, but what about "java -jar"? I couldn't find >anything in the examples or doc that addressed this, and I can't quite >figure out how the java -jar model maps into the config file. > >Can anyone point me? > >For reference, here's the command I'm trying to wrap (broken into lines >for viewing). This is Sun's JavaSpaces stuff: > >java >-jar >-Djava.security.policy=\\server\web_d\javalib\jini\policy\policy.all >-Djava.rmi.server.codebase=http://192.168.7.106:8080/outrigger-dl.jar >-Dcom.sun.jini.outrigger.spaceName=djobs >\\server\web_d\javalib\jini\transient-outrigger.jar >public > >The next to last line is the catch. WrapperSimpleApp expects a class >and I don't have one! > >Any help would be greatly appreciated. > >Thanks, > >Fred Toth >ft...@sy... > > > >------------------------------------------------------- >This SF.net email is sponsored by:Crypto Challenge is now open! Get >cracking and register here for some mind boggling fun and the chance of >winning an Apple iPod: >http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user |