Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts
Friday, June 1, 2012
Java: what is it? do you need it?
Java is a popular programming language based on objects. Basically instead of saying to the computer "do this, then do that, then if something, do this thing too", we tell him "this is an object. It has this and that attribute. It can do this or that". The benefits or not completely clear to non-programmers but modern experience has shown that it was a good approach to programming, basically because if you want to review the code (add a feature, change something), you will not need to got trough the whole code, you will simply focus on the object you want to change, or maybe you will simply add another object.
I know, this is very abstract for most of you, I am sorry about that, but I thought a quick introduction to Java could be nice. Now, what does all mean to you in practice? Do you need Java? How do you install it? Do you need to upgrade it? etc...
One of the problem of Java, is that to run a java "application" (game, utilities,...), your computer needs to know Java. Not all computers come with Java by default, so it will be your responsibility to install it and maintain it. Don't panic, it is not that bad. Java is installed as any other programs and will warn you if an important update is available. Also, you only need to install it if you are going to use it. Generally speaking you don't need to install it, until you get to a website you regularly need and that is not working because you don't have Java on your computer. You will generally get the error message that Java is not installed and that you need it to view the page.
I advise you to install java from their main website, ie www.java.com. Click on the Free Java Download and you are set. Wasn't it easy? If you get a message once that a new version of Java is available you can also simply go to the mentioned page and follow the instructions there.
I would NOT download java from other websites, peer-to-peer programs and so on, because the version of Java you will find may be corrupted (or simply incompatible with the version of your PC). I would also avoid clicking blindly to links when you get a message that you need to install java from here (this could be a fake message from a hacker).
If this page helped you, recommend it (+1 button below)! It will help other people find this page. Thanks!
How to downgrade Java on Windows
So, you upgraded Java recently and something is broken? Some important sites are not working anymore? Here is how to downgrade the Java software on your PC (for more basic info on Java, please click here).
I am writing this article because I had problems last time I upgraded Java on my PC. After the java upgrade, Internet Explorer and Firefox were working great but I had troubles with Opera. I had Java version 7.0.40 and Opera version 11.64 BUT this article is about how to downgrade Java in general and is not specific to Opera or to this version of Java.
Actually, it is pretty straightforward. When you update Java, it will simply install the new version and will not care about the old one(s). This may sound messy (you will have old Java versions installed for nothing) but in our case now, this comes really handy, as we will simply have to uninstall the newer version of Java and the old version will become the active one automatically.
To uninstall the newer version of Java, go to "Programs and Features". To do this, click on the windows start button, then "Control Panel", then "Programs", and finally "Programs and Features.
You should see a list of programs appearing on the page. Wait a little bit to have all the programs. You should now see a list of Java programs.
What is important is the Java (TM) programs. In the picture above, you can see I had 2 versions: Java 6.0.29 and 7.0.4. The new version I had problems with was 7.0.4, so I simply clicked on it, uninstalled it and I was left with version 6.0.29 which was working fine, like before the upgrade.
The only warning I have is that Java is upgraded regularly to improve security issues. Running old versions of Java is not a perfect solution, just a temporary solution, hoping that the next version will be released soon and will fix the particular problem you have.
If this page helped you, recommend it (+1 button below). It will help other people find this page. Thanks!
Subscribe to:
Posts (Atom)