Program Arguments Broken?

John Peak jpeak at elucidation.biz
Thu Jun 10 10:38:08 CDT 2004


Thanks for the response.  So I guess I am confused.  Is there any way I
can do what I outlined below or is this impossible?  That is can I pass a
parameter to the JetProxyServer or does wine always "intercept" it and
pass it to java.exe?  Regards, John

> On Thu, 10 Jun 2004 08:57:25 -0400 (EDT), you wrote:
>
>> I have an unusual (although not unheard of) situation where I need to
>> pass
>> a parameter to a Java program that is running under wine.  My command
>> looks something like:
>>
>> wine ../../Java/j2re1.4.1_01/bin/java.exe \
>>       -classpath $LOCALCLASSPATH com.jet.jdbc.server.JETProxyServer \
>>       -config $CONFIG_FILE
>>
>> Note that the "-classpath" parm should be passed to java.exe and the
>> "-config" parm should be passed to the JETProxyServer Java program.
>> Problem is that both parameters get passed to the java.exe.
>
> That is how it should be. Actually even JETProxyServer is for wine just
> a parameter to pass to the java.exe.
>
>>
>> It appears that the way wine passes program arguments has been
>> refactored
>> so that this may no longer possible.  I am using CVS development version
>> 20040505.
>
> The recent change is that the '--' is not required and not allowed
> anymore. But you already seem to have figured that out.
>
> Rein.
> --
> Rein Klazes
> rklazes at xs4all.nl
> _______________________________________________
> wine-users mailing list
> wine-users at winehq.org
> http://www.winehq.org/mailman/listinfo/wine-users
>
>


~~~~~~~~~~~~~~~~~
John Peak
jpeak at elucidation.biz
678.575.2010 (c)
404.872.4622 (h)




More information about the wine-users mailing list