In addition to a number of .jar files, the application has quite a few .dlls and an .exe. dbr On Tue, 2002-12-31 at 12:27, Sylvain Petreolle wrote: > for the same reason, if its pure java, you have the .class or .jar file > and you can run the application with the native port. > > --- "David B. Ritch" <dritch@hpti.com> a écrit : > I agree. However, > this is a commercial application, and I don't have > > the source code. That makes porting the native version to Linux a > > bit > > more difficult. > > > > Thanks for the suggestion, though. > > > > dbr > > > > On Tue, 2002-12-31 at 08:24, Garrett Serack wrote: > > > > > The real question is, where is the benefit to running windows' > > version > > > of Java under Linux, when the native port will work SOOOOOO much > > better? > > > > > > While I've often wondered how well Java for Windows worked under > > wine, I > > > think that spending any time debugging that would be considered... > > Odd. > > > :( > > > > > > Garrett Serack > > > > > > > > > > > > -----Original Message----- > > > From: wine-users-admin@winehq.com > > [mailto:wine-users-admin@winehq.com] > > > On Behalf Of David B. Ritch > > > Sent: 2002 December 30 8:17 PM > > > To: Wine-Users > > > Subject: Java Swing App > > > > > > > > > > > > > > > I'm rather new to Wine, and I'm trying to run a Java Swing > > application. > > > I'm having trouble with it. Has anyone else gotten Swing-based > > apps to > > > run? > > > > > > I have a test case, basically a swing "hello world" app, and I > > haven't > > > been able to get it to work either. Here's what happens when I try > > to > > > compile it: > > > > > > [dritch@twitch wine]$ wine -- c:/jdk1.3/bin/javac -g -d "." > > > "HelloWorldSwing.java" Loading required GL library > > > /usr/X11R6/lib/libGL.so.1.2 > > > wine: Unhandled exception, starting debugger... > > > Loading required GL library /usr/X11R6/lib/libGL.so.1.2 > > > X Error of failed request: BadWindow (invalid Window parameter) > > > Major opcode of failed request: 15 (X_QueryTree) > > > Resource id in failed request: 0x3a00001 > > > Serial number of failed request: 67 > > > Current serial number in output stream: 67 > > > Terminated > > > [dritch@twitch wine]$ > > > > > > When I compile it natively under linux and try to run it with wine, > > I > > > get the same result. > > > > > > Here is the application, itself: > > > > > > import javax.swing.*; > > > > > > public class HelloWorldSwing { > > > public static void main(String[] args) { > > > JFrame frame = new JFrame("HelloWorldSwing"); > > > final JLabel label = new JLabel("Hello World"); > > > frame.getContentPane().add(label); > > > > > > frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); > > > frame.pack(); > > > frame.setVisible(true); > > > } > > > } > > > > > > I'm running RedHat-7.3, with all the latest updates, Gnome-2, and a > > > 2.4.20 kernel. I'm using a recent CVS of wine, Dec 23, I think, > > > compiled with OpenGL support. > > > > > > Any suggestions of how to make this work, or how to diagnose it > > further? > > > > > > Thanks! > > > > > > dbr > > -- > > David B. Ritch > > High Performance Technologies, Inc. > > _______________________________________________ > > wine-users mailing list > > wine-users@winehq.com > > http://www.winehq.com/mailman/listinfo/wine-users > > ===== > Sylvain Petreolle > spetreolle@users.sourceforge.net > Fight against Spam ! http://www.euro.cauce.org/en/index.html > ICQ #170597259 > > "Don't think you are. Know you are." Morpheus in Matrix, chapter 15. > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > Yahoo! Mail : http://fr.mail.yahoo.com -- David B. Ritch High Performance Technologies, Inc. _______________________________________________ wine-users mailing list wine-users@winehq.com http://www.winehq.com/mailman/listinfo/wine-users