Re: Using JDK1.4.0 with Jswat

Nathan Fiedler <[email protected]>
Newsgroups gmane.comp.java.jswat.user
Message-ID <1025566102.1450.0.camel@chip>
Thanks for tracking this down. I've added this information to the
Troubleshooting section of the JSwat readme. It will appear in the next
release.

nathan


On Mon, 2002-07-01 at 06:24, Martin Kemp wrote:
> Dear all,
> 
> This is a quick note to anyone that has not managed to get jswat to work
> with jdk1.4.x using win32 on NT4.
> 
> I was originally getting a slew of errors, originating from
> sun.awt.windows.Win32DDRenderer.doFillRectDD(Native Method). I tried a
> couple of versions of jswat - 2.5, 2.6 and 1.5. Each of them gave the same
> error, which suggested that it was down to 1.4. I tried it with 1.3 and it
> worked fine. I then looked on Google groups and found that there is an extra
> switch that you can put in that turns off the win32 DirectX stuff - it seems
> that there is a bug in 1.4 (I'm currently using 1.4.1-beta-b14) that means
> it's not compatible with other programs that are using DirectX.
> 
> The switch is:
> 
> -Dsun.java2d.noddraw=true
> 
> So now my startup line is:
> 
> javaw -Dsun.java2d.noddraw=true -jar "c:\program files\jswat\jswat2.jar"
> 
> I hope that helps some people out that were keen to use the hotswap
> facility - Nathan, it works a treat!
> 
> Martin Kemp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.