[Wine] JVM 7 fails to start

Martin Gregorie martin at gregorie.org
Thu Dec 29 11:36:27 CST 2011


On Wed, 2011-12-28 at 07:02 -0600, bobul wrote:
> Hi,
> 
> I installed the jre-7u2 into the wine under Ubuntu 11.10
> 
> But, when I try to run the java itself:
> 
> 
> Code:
> wine ${PATH_TO_JAVA/BIN}/java.exe
> 
This should work better:

	cd ${PATH_TO_JAVA}/BIN
	wine java.exe

because a shell variable name can't contain '/'. However, if your
program is pure Java, i.e. doesn't use Windows code run via JNI and so
doesn't break the WORA[1] contract, why aren't you running it under a
native Linux JVM? 

[1] WORA = "Write Once, Run Anywhere" which states that any program
written in Java without using OS-specific code extensions will run
correctly in any certified JVM on any supported operating system.


Martin





More information about the wine-users mailing list