[Wine] so library with winelib

Martin Gregorie martin at gregorie.org
Tue Apr 17 04:53:47 CDT 2012


On Mon, 2012-04-16 at 22:12 -0500, pvshura wrote:
> I have the same problem as some other people on wine forums. We run
> java + windows dlls on Windows platform and want to switch to Linux. 
> 
With respect, I think you're looking at this backwards. Your real
problem is that you've got a Java program that's been locked to Windows
by the inclusion of Windows-specific non-Java code, probably via JNI.

The only long-term solution is to run Java natively under Linux, which
means replacing the Windows-specific code by its Linux equivalent but,
if your application isn't written in Java 6, you should first check
whether this functionality is now included in the Java standard class
library. Java is, in general, forward compatible, so programs written
for an early Java version should run unchanged[*] when they are
recompiled with a current version.

[*] from Java 5, which introduced generics, some classes which took
Object arguments, e.g. Vector, will throw compile-time warnings because
they now use generics for improved compile-time type checks. Code using
them will still compile and run if left unmodified.


Martin






More information about the wine-users mailing list