View Full Version : Erlang

July 22nd, 2009, 05:02 PM
How to do erlang in linux?

how to do java in linux?

July 22nd, 2009, 08:09 PM
Well, on Ubuntu linux, first install erlang:

sudo aptitude install erlang

Than check out http://erlang.org/starting.html - It looks like that is a really good start.

You have two options - you can use the gcc (Gnu Compiler Collection) compiler, or the sun compiler:

To use sun's compiler, install sun-java6-jdk
To use gcc's compiler, install gcj-4.3

for a test program, try this:

public class Test {
public static void main(String[] args) {

To compile: javac Test.java
To run: java Test

The above example code stolen from: http://ubuntuforums.org/archive/index.php/t-536521.html

And if that works, just follow any java tutorial on the internet and you will be fine.