Re: JVM 7 fails to start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux