How to Install Windows Version of Java with WINE in Ubuntu Linux

Submitted by ingram on Sat, 12/15/2012 - 10:27am

This tutorial shows how to install the latest Windows version of the Java Runtime Environment (currently version 1.7.0.10) on Ubuntu Linux using WINE. It was tested on Ubuntu 12.04 and 12.10, but should work on any Debian based system. If you need to install the Windows version of Firefox in Linux to use Java with, follow this tutorial.

Now we will install wine, make the Java installer executable, and install it with WINE (this assumes the Java installer is named jre-7u10-windows-i586.exe and is located in the Downloads folder. If not, make the necessary adjustments):

sudo apt-get install wine

chmod +x ~/Downloads/jre-7u10-windows-i586.exe

wine ~/Downloads/jre-7u10-windows-i586.exe

Now the Java installer will launch:

Click Install

Click Close to complete the installation. The Windows version of Java is now installed. If you have the Windows version of Firefox installed also, you can use it to run web based Java programs now.

Hi my friend!
I tried to install the java with wine in my Ubuntu 14.04, everything it was ok, but after started to install the Java the wine returned with a mistake and just ask to close. I really need to install the Java. If you can help me, I'll be thank forever!