top of page
Search
bodenkova1995

Sun Microsystems Download Jre 1.6: The Benefits of Using the Java Platform for Building Applications



The above default release, 1.4, is the latest release of Java Plug-in. Sun recommends that you use it. However, if for some reason you need an older release, such as 1.3.0, 1.3.0_01, 1.3.0_02, or 1.3.1, they are available from the link below. Note that you should always download and use the corresponding version of the HTML Converter for any of the 1.3.0 releases of Java Plug-in. (In 1.4, the converter is included with the SDK 1.4 Standard Edition release.)




Sun Microsystems Download Jre 1.6




So what does this imply for me? Base (the database component) relies completely on Java technologies to run, but other programs (like Writer, Calc and Impress) only need Java for special functionality. We do recommend you however to have a Java Runtime Environment on your system, and therefore our default installation offerings includes a JRE (which adds about 15MB to the total download size).


TheOracle Technology Network License Agreementfor Oracle Java SE is substantially different from prior Oracle JDK 8 licenses. This license permits certainuses, such as personal use and development use, at no cost -- but other uses authorized under prior Oracle JDKlicenses may no longer be available. Please review the terms carefully before downloading and using this product.FAQs are availablehere.


These downloads can be used for development, personal use, or to run Oracle licensed products. Use for otherpurposes, including production or commercial use, requires a Java SE subscription or another Oracle license.


But I can run a Visual BasicScript (VBS) script from the command line to obtain information similarto what is available from within Windows Explorer.When I ran the script show-downloaded-program-files.vbs, I saw thefollowing:


C:\TEMP>cscript /nologo show-downloaded-program-files.vbsCode base: file: 00000075-9980-0010-8000-00AA00389B71Status: Not AvailableCode base: =39204Program file: Windows Genuine Advantage Validation ToolStatus: InstalledCode base: file: Microsoft Terminal Services Client Control (redist)Status: InstalledCode base: -1_6_0_07-windows-i586.cabProgram file: Java Runtime Environment 1.6.0Status: InstalledCode base: -1_5_0_01-windows-i586.cabProgram file: Java Runtime Environment 1.5.0Status: InstalledCode base: -1_5_0_02-windows-i586.cabProgram file: Java Runtime Environment 1.5.0Status: InstalledCode base: -1_5_0_04-windows-i586.cabProgram file: Java Runtime Environment 1.5.0Status: InstalledCode base: -1_5_0_06-windows-i586.cabProgram file: Java Runtime Environment 1.5.0Status: InstalledCode base: -1_6_0_01-windows-i586.cabProgram file: Java Runtime Environment 1.6.0Status: InstalledCode base: -1_6_0_07-windows-i586.cabProgram file: Java Runtime Environment 1.6.0Status: InstalledCode base: -1_6_0_07-windows-i586.cabProgram file: Java Runtime Environment 1.6.0Status: InstalledCode base: file: Shockwave Flash ObjectStatus: Installed


(1) Open the Preferences. This can be done by either clicking on the System Preferences icon in the Dock or by going to Apple Menu > System Preferences.(2) Open the Security & Privacy pane by clicking Security & Privacy.(3) Make sure that the General section of the the Security & Privacy pane is selected. Click the icon labeled Click the lock to prevent further changes.(4) Enter your username and password into the prompt that appears and click Unlock.(5) Under the section labeled Allow applications downloaded from, select Anywhere. On the prompt that appears, click Allow From Anywhere.(6) Exit System Preferences by clicking the red button in the upper left of the window. You should now be able to install applications downloaded from the internet.


If, however, you have an older version of Java installed, then you should update it to 1.6.0_7 (a.k.a. Java 6 Update 7). You can download the older version of Java at java.sun.com/products/archive/j2se/6u7/index.html. Click on the "Download JRE" link.*


*Here is an alternate link directly to the EXE file for Windows users. This should download file jre-6u7-windows-i586-p.exe, which is about 15MB. Surprisingly, CNET's own Download.com is a bit behind on Java releases.


Users of Java IDEs (Integrated Development Environment) such asEclipse orNetBeans can build the ABCL JAR filewithin these environments. If you are using these tools you will have alreadydownloaded the JDK, and these tools already have a version of Ant installed.See the documentation for these tools if you wish to use these to build theABCL JAR file.


If you don't get any results then you don't have the Java runtime system installed. To install it go to java.com, andclick the big blue button that is on that page (it's not subtle, as youcan see from the image at right!). Be aware that Java downloads are quitelarge, so if you need to install or upgrade your version of Java you shoulddo this when you have access to decent Internet bandwidth.


The runtime system includes everything that you need to run a Java program.This means it has the core executables (eg java.exe), as well asall the supporting library files needed to make Java work with yourparticular operating system. However downloading the JRE alone is notenough...


As with the JRE the JDK is available for free from Sun. To download theversion you are interested in go to the Sunwebsite, java.sun.com, click on the JavaSE link to the right and then choose the JDK. Alternatively you can usetheir search form -- just enter "JDK". Java comes in various 'flavours': theSE is the Standard Edition, and is the one you want; the others are EE, whichis the Enterprise Edition, and is used for creating web-based solutions usingJava Bean and Servlet technologies; and ME is the Micro Edition, used to runJava on small devices such as phones and PDAs. [Now how cool would it be tohave Lisp on your phone? There's a thought!]


Make sure you download the JDK, not the JRE (unless of course you want toupgrade your current JRE to a different version). Sun offers the JDK with someof its other tools, such as NetBeans. NetBeans is an integrated developmentenvironment (IDE), which lets you edit your code in a window, and then run it,debug it, and manage your applications all within one package. There is alearning curve to NetBeans; it is a great IDE, but if you just want to get ABCLrunning you don't need all its bells and whistles.


Ant is an open source project managed by the Apache organisation, that isused to manage the compilation and building of larger Java projects. It's homepage is at ant.apache.org. To downloadthis tool go to their download page. Choose the appropriate package for your platform (forexample Windows users will select the zip archive). Extract the files fromthe package. Windows users can either user the built in feature of Windowsexplorer: double click on the zip file; in the window that pops up clickFile then Extract All (the fastest way to start Explorer:right-click on the Start button and click Explore).


Java was developed by Sun Microsystems, Inc., which is now a part of the Oracle corporation. Oracle makes the JDK for Windows and Linuxavailable for free download at its Java Web site, you have a Windows computer, it might have come with a Java Runtime, butyou might still need to download the JDK. Some versions of Linux comewith the JDK either installed by default or on the installation media.If you need to download and install the JDK, be sure to get JDK 5.0 (or higher).As of August 2010, the current version of the JDK is JDK 6, and it can be downloadedfrom


To test the javac command, place a copy of TextIO.javainto your working directory. (If you downloaded the Web site of this book,you can find it in the directory named source; you can useyour computer's GUI to copy-and-paste this file into your working directory.Alternatively, you can navigate to TextIO.java on thebook's Web site and use the "Save As" command in your Web browser to save a copy of the file into your working directory.)Type the command:


To create your own programs, you will need a text editor.A text editor is a computer program that allows you to create and save documentsthat contain plain text. It is important that the documents be saved as plain text,that is without any special encoding or formatting information. Word processordocuments are not appropriate, unless you can get your word processor to saveas plain text. A good text editor can make programming a lot more pleasant.Linux comes with several text editors. On Windows, you can use notepad in a pinch, but you will probably want something better. For Mac OS, you might download the free TextWrangler application. Onepossibility that will work on any platform is to use jedit, a good programmer's text editor that is itself written in Java and that can be downloaded for free from www.jedit.org.


Eclipse is itself written in Java. It requires Java 1.4 or higher to run, and Java 5.0 or higheris recommended. For use with this book, you should be running Eclipse with Java 5.0 or higher.Eclipse requires a Java Runtime Environment, not necessarily a JDK.You should make sure that the JRE or JDK, Version 5.0 or higher is installed on your computer, asdescribed above, before you install Eclipse.Eclipse can be downloaded for free from eclipse.org.You can download the "Eclipse IDE for Java Developers."


Another popular choice of IDE is Netbeans, which provides many of thesame capabilities as Eclipse. Netbeans can be downloaded from netbeans.org,and Oracle offers downloads of Netbeans on its Java web site. I like Netbeansa little less than Eclipse, and I won't say much about it here. It is, however, quitesimilar to Eclipse.


To run the TextIO based examples from this textbook, you must add thesource code file TextIO.java to your project. If you have downloadedthe Web site of this book, you can find a copy of TextIO.java in the source directory.Alternatively, you can navigate to the file on-line and use the "Save As" command of your Web browser to save a copy of the file onto your computer. The easiest way toget TextIO into your project is to locate the source code file on your computer and drag the file icononto the project name in the Eclipse window. If that doesn't work, you can try usingcopy-and-paste: Right-click the file icon (or control-click on Mac OS), select "Copy" from the pop-up menu, right-click the project name in the Eclipse window, and select"Paste". If you also have trouble with that, you can try using the "Import" commandin Eclipse's "File" menu; select "File System" (under "General") in the window that pops up, click "Next",and provide the necessary information in the next window. (Unfortunately, usingthe file import window is rather complicated. If you find that you have to use it,you should consult the Eclipse documentation about it.) In any case, TextIO shouldappear in the src directory of your project, inside a package named"default package". Once a file is in this list, you can open it by double-clicking it;it will appear in the editing area of the Eclipse window. 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


bottom of page