BlueJ: Difference between revisions

imported>Jsavage06
Installing BlueJ on an Ubuntu machine
 
No edit summary
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Installing BlueJ
BlueJ is the required [[w:IDE|IDE]] for [[gp:CS 1114 Introduction To Software Design|CS 1114 Introduction To Software Design]].


BlueJ in the required IDE for CS1114 (Intro To Software Design).
=Software Version=
'''
Step 1'''. Figure out what you need and download it. Currently CS1114 (Fall '10) is using Moodle [http//:moodle.cs.vt.edu] as an online interface for  students. On Moodle in CS1114 on the 'Reference Shelf' you will see a link 'Installing/Updating BlueJ'. Here you will find what version of Java and BlueJ you need to install. First follow the link for the Java JDK, make sure you select linux (x86 for 32 bit, x64 for 64 bit, this has to match your operating system version) and download. Then download the BlueJ .jar package, its listed as "All other OSes: vtbluej-<version>.jar"


Part 1. Install the JDK
Figure out what you need and download it. Currently CS1114 (Fall '10) is using [http://moodle.cs.vt.edu Moodle] as an online interface for students. On Moodle in CS1114 on the 'Reference Shelf' you will see a link 'Installing/Updating BlueJ'. Here you will find what version of Java and BlueJ you need to install. First follow the link for the Java JDK, make sure you select linux (x86 for 32 bit, x64 for 64 bit, this has to match your operating system version) and download. Then download the BlueJ .jar package, its listed as "All other OSes: vtbluej-<version>.jar"


Open a terminal, execute
=Install the JDK=


//below line sets execution permissions
Open a terminal, execute the following command to add permission to execute the file
% sudo chmod a+x jdk-6u<version>-linux-i586.bin
<pre>% sudo chmod +x jdk-6u<version>-linux-i586.bin</pre>


Change the directory to wherever you would like it installed to. REMEMBER THIS LOCATION, it will be needed when we install BlueJ
Change the directory to wherever you would like it installed to. REMEMBER THIS LOCATION, it will be needed when we install BlueJ
it could be something like this:
it could be something like this:


% cd /home/megaman/Programs
<pre>% cd /home/megaman/Programs</pre>


execute the .bin file that you downloaded, modify the path and filename provided below to the location of your .bin file
execute the .bin file that you downloaded, modify the path and filename provided below to the location of your .bin file


% sudo /home/megaman/Downloads/jdk-6u<version>-linux-i586.bin
<pre>% sudo /home/megaman/Downloads/jdk-6u<version>-linux-i586.bin</pre>


Part 2. Installing BlueJ
=Installing BlueJ=


You should have already downloaded the BlueJ .jar file.
You should have already downloaded the BlueJ .jar file.
Line 27: Line 25:
Execute it from the terminal (change filename and filepath as necessary)
Execute it from the terminal (change filename and filepath as necessary)


% java -jar  /home/megaman/Downloads/vtbluej-253-307.jar
<pre>% java -jar  /home/megaman/Downloads/vtbluej-253-307.jar</pre>


After you execute this command an installer window should pop up asking you for an install directory and a Java directory. Choose whatever install directory you wish, it usually makes life a little easier if you keep all this stuff organized and in the same place. Now under the Java directory recall the location that you installed the JDK to (if you forgot you can type in "history" without the double quotes into the terminal and backtrack) Point it to that location and click install.
After you execute this command an installer window should pop up asking you for an install directory and a Java directory. Choose whatever install directory you wish, it usually makes life a little easier if you keep all this stuff organized and in the same place. Now under the Java directory recall the location that you installed the JDK to (if you forgot you can type in "history" without the double quotes into the terminal and backtrack) Point it to that location and click install.
Line 34: Line 32:


...and you should be good
...and you should be good
[[Category:Software]]
[[Category:Howtos]]