java howto
how to install/configure and code in Java.
Install Java environment
First, download Eclipse (or NetBeans) development environment. Then you need Jave SE JDK, so download/install that. Now you have to start a project
install Java on a server
Debian doesn’t have Java 7 from Oracle/Sun after Squeeze, but you can install openjdk and it will compile and run java things, so do:
apt-get install default-jdk |
Java IDE on your laptop
I use Eclipse, but there are many choices here. Still, Eclipse is pretty standard, so if you get stuck you might have a better chance of getting help.
apt-get install eclipse |
Basic Java stuff
class whatever { public static void main(String args[]){ girls = 13; boys = 3; people = girls + boys; System.out.println(people); } } |
Write a comment
You need to login to post comments!