![what is bluej program what is bluej program](https://home.adelphi.edu/~pe16132/csc171/bluej/Fall2014InstallBluej/downloadbluej_files/image004.jpg)
Today I helped a group of students who were completely mystified by the mysterious black box of cmd.exe. They are simply not prepared to deal with this type of technical problems. Up until now the IDE did everything for them, but now they suddenly need to learn allot of new things – like setting up your system path, navigating in a CLI environment and etc…Īll of that stuff is easy, but it can be incredibly scary to a student who was previously taught that “programming” involves clicking on things in a graphical IDE.
#What is bluej program how to
They need to abandon the comfy GUI based BlueJ interface and learn how to run and compile Java in the real world. Objects First students now have to make another big leap. From experience I know that this time usually comes in the last 2 weeks of the course, when the pace is really frantic and everyone is busy preparing for finals, and finishing up projects.
#What is bluej program code
They are not able to write or execute Java code without assistance from this specialized tool until the instructor teaches them about the main method. It keeps students chained to a single, very limited IDE – namely BlueJ. But there is a serious drawback to this methodology. The theory is that the leap from OO to imperative paradigm is much easier to make then from imperative to OO. You do not show them the main method till very late in semester. They run methods by clicking on an object box and picking a method name from a similar menu. In BlueJ students write a class, and then initialize it by right clicking on it’s icon and choosing constrictor from a context menu. You teach them object oriented principles first, and equip them with tools that completely hide the imperative layer. The idea behind the Objects First approach is to completely bypass that leap. Figuring out how to make this leap, is an extremely crucial process. It is a defining conceptual leap and prepares him for many similar leaps he will have to make in the future as a programmer. In fact, finally getting object oriented paradigm is possibly the most profound moment in a young programmers career.
![what is bluej program what is bluej program](https://media.cheggcdn.com/media%2Faa4%2Faa4d37a3-1a4d-4155-95b8-6b6d0111d4b4%2FphpkQzJmH.png)
It is an extremely difficult transition and some people may never be able to make it. You see, when you teach students their first modern programming language the most difficult obstacle awaiting them is making the leap from imperative programming mode to object oriented programming. I know exactly what the instructors and administration is trying to achieve here. I cannot say that I do not understand the reasoning behind this choice. Next you will see a window.At Montclair State University introductory Java classes are taught using the BlueJ IDE. Below it there will be many more options, please do not concern yourself with those options just choose the first one which is the default ‘Class’. It will show you a smaller window with a place to type class name. We are at present concerned with the button which shows ‘New Class’ as the message. After you have got this bit done you will see all the buttons on the main screen being enabled.
![what is bluej program what is bluej program](http://www.itk.ilstu.edu/faculty/bllim/itk353/BlueJ-Exercises_files/image007.jpg)
Please keep in mind the place where it stores the file, most probably it will be your my document folder. Now from the main screen choose Project->New Project and give a name as HelloWorld. Traditionally the first program is always Hello World so why should it be any different for us. Please refer to my blog entry for 10th of December 2009 for more information about downloading and installing BlueJ. Now that you have got the BlueJ installed it is time to write your first program.