Program Arguments Broken?

Rein Klazes rklazes at xs4all.nl
Thu Jun 10 10:11:51 CDT 2004


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



More information about the wine-users mailing list