Re: How hard would it be to support Java?

2006-03-19 Thread Dan Kegel
On 3/19/06, Ulrich Czekalla <[EMAIL PROTECTED]> wrote:
> > So I played around a bit with Sun's latest 1.5 JRE.
> > ... it can't run applets; first, it runs into a nasty glx error,
> > http://bugs.winehq.org/show_bug.cgi?id=4143
>
> As a work-around you can try to force it to use gdi. Turn off ddraw. I
> think their is a jvm parameter for this, can't quite recall.

Good call.   -Dsun.java2d.noddraw=true does the trick,
and lets you get to the more serious error.
- Dan


--
Wine for Windows ISVs: http://kegel.com/wine/isv




Re: How hard would it be to support Java?

2006-03-19 Thread Ulrich Czekalla
On Fri, Mar 17, 2006 at 06:21:43PM -0800, Dan Kegel wrote:
> Quite a few apps use embedded JVM's.
> Case in point: SPSS, one of the apps requested by Munich.
> 
> So I played around a bit with Sun's latest 1.5 JRE.
> It can run trivial apps, so I closed
> http://bugs.winehq.org/show_bug.cgi?id=2953
> (ok, maybe that was premature, since the bug was for Sun's 1.4 JRE).
> 
> But it can't run applets; first, it runs into a nasty glx error,
> http://bugs.winehq.org/show_bug.cgi?id=4143
> 

As a work-around you can try to force it to use gdi. Turn off ddraw. I
think their is a jvm parameter for this, can't quite recall. Another option
is to set the dll override for ddraw to "".

/Ulrich




Re: How hard would it be to support Java?

2006-03-18 Thread Dan Kegel
Christoph wrote:
>>Quite a few apps use embedded JVM's.
>>Case in point: SPSS, one of the apps requested by Munich.
>
> WTF?
> There is a JVM for Linux available.
> To my mind contact the manufacture of your software and explain to them
> that Java is platform independent ...

As Joris pointed out, many apps are not pure java.
Instead, they are Windows apps that load the
JVM somewhere in the middle, perhaps using
the JNI interface.  Untangling that mess to let
the Windows app part talk to a Linux JVM
would be a can of worms.

Sadly, the only realistic way to get apps like
the SPSS client running on Linux in the next
year or two may be Wine.  And that means
getting Sun's JVM running on Wine.

When you think about it, supporting Sun's JVM
on Wine is a good idea.  That would let us use
Java's regression test suite as an additional Wine
regression test.  This goes for OpenOffice, too.
- Dan




Re: How hard would it be to support Java?

2006-03-18 Thread Joris Huizer

Christoph wrote:

Dan Kegel schrieb:


Quite a few apps use embedded JVM's.
Case in point: SPSS, one of the apps requested by Munich.



WTF?
There is a JVM for Linux available.
To my mind contact the manufacture of your software and explain to them
that Java is platform independent ...



Having it available for linux is not enough, at least wine would need to 
offer a wrapper dll that forwards java calls to the java engine (as 
executables try to hook into a java dll, and just fail if it isn't 
available) - the better option would ofcourse be... getting java 
working; I have no idea how hard that wrapper dll would be though


HTH,

Joris




Re: How hard would it be to support Java?

2006-03-18 Thread Christoph
Dan Kegel schrieb:
> Quite a few apps use embedded JVM's.
> Case in point: SPSS, one of the apps requested by Munich.

WTF?
There is a JVM for Linux available.
To my mind contact the manufacture of your software and explain to them
that Java is platform independent ...

> 
> So I played around a bit with Sun's latest 1.5 JRE.
> It can run trivial apps, so I closed
> http://bugs.winehq.org/show_bug.cgi?id=2953
> (ok, maybe that was premature, since the bug was for Sun's 1.4 JRE).
> 
> But it can't run applets; first, it runs into a nasty glx error,
> http://bugs.winehq.org/show_bug.cgi?id=4143
> 
> Once you patch your way past that, it complains about not finding
> a native method, see
> http://bugs.winehq.org/show_bug.cgi?id=4873
> 
> And it doesn't show up in Firefox's about:plugins by default, see
> http://bugs.winehq.org/show_bug.cgi?id=4860
> 
> Can anyone shed some light on these, especially bug 4143?
> Thanks,
> Dan
> 
> --
> Wine for Windows ISVs: http://kegel.com/wine/isv
> 
> 




How hard would it be to support Java?

2006-03-17 Thread Dan Kegel
Quite a few apps use embedded JVM's.
Case in point: SPSS, one of the apps requested by Munich.

So I played around a bit with Sun's latest 1.5 JRE.
It can run trivial apps, so I closed
http://bugs.winehq.org/show_bug.cgi?id=2953
(ok, maybe that was premature, since the bug was for Sun's 1.4 JRE).

But it can't run applets; first, it runs into a nasty glx error,
http://bugs.winehq.org/show_bug.cgi?id=4143

Once you patch your way past that, it complains about not finding
a native method, see
http://bugs.winehq.org/show_bug.cgi?id=4873

And it doesn't show up in Firefox's about:plugins by default, see
http://bugs.winehq.org/show_bug.cgi?id=4860

Can anyone shed some light on these, especially bug 4143?
Thanks,
Dan

--
Wine for Windows ISVs: http://kegel.com/wine/isv