O'Reilly logo

MySQL™ and JSP™ Web Applications: Data-Driven Programming Using Tomcat and MySQL by James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing JDK Under Linux

Installing the JDK under Linux requires similar steps, but because Linux is such a different creature, you'll do them in very different ways than Windows requires.

Getting the Binary Distribution

Point your browser to http://java.sun.com/j2se/1.3/download-linux.html and click Continue under Red Hat RPM Shell.

Accept the license agreement, and choose a server to download from. Save the file in the /tmp/ directory.

Installing the Distribution

As root, cd to /tmp and type ./j2sdk-1_3_1_01-linux-i386-rpm.bin. Agree to the license by entering yes. This creates a file called jdk-1.3.1_01.i386.rpm in /tmp. Install it using rpm:

[root@linux tmp]# rpm —install jdk-1.3.1_01.i386.rpm

This unpacks the distribution as /usr/java/jdk1.3.1_01. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required