Re: Program Arguments Broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 10 Jun 2004 15:28:47 -0400 (EDT), you wrote:


> > - wine launches java.exe and passes it ALL the parameters;
> > - java.exe inspects the parameters, takes JetProxyServer, launches it
> > and passes it the -config parameter.
> 
> I completely agree with you on how it should work.
> 
> I don't think this is what is happening though.  I get an "Unrecognized
> option: -config" from java.exe instead of the config argument actually
> being passed into the JetProxyServer.  It appears that wine may somehow be
> reordering the command-line parameters.
> 
> If I take wine out of the picture and call Java using the following
> command it works properly:
> 
> java -cp $LOCALCLASSPATH com.jet.jdbc.server.JETProxyServer -config
> $CONFIG_FILE
> 
> If I modify this and do
> 
> java -cp $LOCALCLASSPATH -config com.jet.jdbc.server.JETProxyServer
> $CONFIG_FILE
> 
> I get "Unrecognized option: -config"

Things would be nicely explained if LOCALCLASSPATH is not set, or if it
contains bad stuff like spaces. Did you check that? For instance try the
command line with "wine" replaced by "echo".

Rein.
-- 
Rein Klazes
rklazes@xxxxxxxxx
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux