logo.png

Operating systems :
WINDOWS
FEDORA
SCIENTIFIC LINUX
DEBIAN

SWITCH

Tools:
CVS
TCPDUMP
NETCAT
NETBEANS
JAR
APPLET

Home Up


Contents



1 Running Nectar software


1.1 Java Runtime Environment & Development Kit

  • Install the Java Development Kit (JDK).
    # apt-get install ant sun-java6-jdk
    


1.2 Hello World

$ cat > hello.java
class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Display the string.
    }
}
^D

$ javac hello.java 
$ java HelloWorldApp


1.3 Nectar application

  • double click on the nectar/dist/nectar.jar file.
  • or
    $ cd nectar/dist
    $ java -jar nectar.jar
    


2 Integrated development environment

  • Download and install the last JDK (like above).
  • Download and install NETBEANS.
    # apt-get install netbeans-ide
    

Home Up

This document is also available in PDF and PostScript format.



2016-02-15