1 / 12

Installing Java and BlueJ

How to install Java version 7 and BlueJ , which we use in this workshop. James Brucker Revised 8 July 2014. Installing Java and BlueJ. BlueJ. Software You Need. 1. Java Development Kit (JDK) compiles and runs Java programs includes Java Runtime + programmer tools

melora
Download Presentation

Installing Java and BlueJ

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to install Java version 7 and BlueJ, which we use in this workshop. James Brucker Revised 8 July 2014 Installing Java and BlueJ BlueJ

  2. Software You Need 1. Java Development Kit (JDK) compiles and runs Java programs includes Java Runtime + programmer tools http://java.oracle.com 2. BlueJ compile and run Java programs http://bluej.org 3. Greenfoot graphical programming in Java create games and simulations – easy! http://greenfoot.org

  3. Install Java Development Kit (JDK) Where to get Java Development Kit? http://java.oracle.com under “Top Downloads” http://se.cpe.ku.ac.th/download/java (if at KU) Click “Java SE” in “Top Downloads” box Scroll down to “Java SE 7u60” (we don’t need Java 8) Download the JDK. On next screen, choose your operating system.

  4. Windows: Don’t use C:\Program Files Windows 1. double-click jdk-7u60-windows-i586.exe 2. Install in C:\java\jdk1.7.0_60(not C:\Program Files) Path with spaces can cause problems. Each update to Java has a new update number. "jdk-7u60" means "Java version 7 update 60". You should install the most recent update.

  5. Install Java Documentation Java has greatdocs that you read in your web browser. On “Java SE Downloads” page, scroll down to… download jdk-7u60-apidocs.zip Unpack ZIP file to C:\java

  6. Explore Java Documentation Double click on "index.html" in C:\java\docs to open...

  7. Useful Document Links Excellenttutorials (you can download these, too). The "Javadoc" for every class in the Java Development Kit.

  8. Installing Java on Ubuntu Linux On Ubuntu, you have 2 choices for Java (choose one): • Oracle JDK - Oracle's Java (same as on Windows). Download tar file from http://java.oracle.com Change directory to "/opt" (recommended location) Unpack the file: sudotar xzf filename (Hard part) Add Java location to shell PATH • OpenJDK - a compliant JDK that's totally free. To install OpenJDK, open a terminal window and type: sudo apt-get install openjdk-7-jdk sudo apt-get install openjdk-7-doc

  9. Test your Java Installation Test that Java is installed. Open a terminal window (Windows: "cmd" prompt) and enter: >javac -version javac version 1.7.0_60

  10. Can't find javac or java ? C:> javac -version "javac" not found. If "Not Found" then add Java's "bin" dir to your PATH. 1) Right-click "My Computer" → choose "Properties" 2) Select "Advanced" tab 3) Click "Environment Variables" 4) Select PATH and click "Edit" 5) Add this to PATH: ...;C:\java\jdk1.7.0_60\bin MS Windows

  11. Install BlueJ Where to get BlueJ? http://www.bluej.org Windows 1. Download “2. BlueJ Installer” (without JDK) 2. Double-click on bluej-311.msi file to install. 3. Install anywhere you like (Program Files is OK).

  12. Run BlueJ The first time you may see a message like this: Select the Java you want to use. Then click “Launch”.

More Related