Stop Microsoft

Miscellaneous => Programming & Networking => Topic started by: Crunchy(Cracked)Butter on 23 October 2002, 01:47

Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 23 October 2002, 01:47
Does anybody know of any java compilers for linux, i plan to purchase Suse 8.1 Personal soon and while i already have the SDK's for linux already downloaded i don't seem to have any compilers or anything else i might need.

At the moment i have to use winblows on my laptop which isn't what i want.
Title: Java compilers for linux
Post by: flap on 23 October 2002, 02:32
The sdk includes the compiler (javac). That's the whole point of it.
Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 23 October 2002, 02:44
yes yes sorry, what i meant is, a program that will use the sdk.

Like at the moment i use a program called pfe which is basically a notepad type program with more functions and the Dos prompts linked into it.  I want that along with the SDK.

BAH! basically i want a linux version of pfe!!! (http://smile.gif)

[ October 22, 2002: Message edited by: Crunchy(Cracked)Butter ]

Title: Java compilers for linux
Post by: flap on 23 October 2002, 03:17
You want an IDE. I'd recommend bluej or netbeans. These will give you a lot more functionality than PFE (debugging, GUI builder etc.)

http://www.bluej.org (http://www.bluej.org)
http://www.netbeans.org (http://www.netbeans.org)
Title: Java compilers for linux
Post by: Master of Reality on 24 October 2002, 00:42
isnt there a gcc-java compiler or somethin?
Title: Java compilers for linux
Post by: flap on 24 October 2002, 00:52
Well yes there is a GNU java compiler. But that isn't what he's looking for.
Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 24 October 2002, 01:26
Thankyou flap, where in the UK are you from?
Title: Java compilers for linux
Post by: flap on 24 October 2002, 01:58
Merseyside
Title: Java compilers for linux
Post by: Calum on 24 October 2002, 02:22
why not use Xemacs? doesn't it do exactly what you do with PFE but better and with more features?

[ October 23, 2002: Message edited by: Calum ]

Title: Java compilers for linux
Post by: Master of Reality on 24 October 2002, 02:32
quote:
Originally posted by flap:
Well yes there is a GNU java compiler. But that isn't what he's looking for.

oh ya... i didnt read his second post.
Title: Java compilers for linux
Post by: preacher on 24 October 2002, 12:32
Crunchy(Cracked) Butter. I write all my java programs in vim. It is a very capable editor and believe it or not, very easy to use. I compile the programs on the command line.

javac FileName.java <== to compile
java FileName <======== to run

(http://www.badconnections.net/misc/java.png)
Title: Java compilers for linux
Post by: preacher on 24 October 2002, 12:36
Ok Borland makes a great, if not bloated, development environment for Java on linux. Its called JBuilder and it is downloadable for free from http://www.borland.com/jbuilder/ (http://www.borland.com/jbuilder/)


By the way, all my programs (simple as they may be) are open source.....lol

http://www.badconnections.net/misc/Tax.java (http://www.badconnections.net/misc/Tax.java)

[ October 24, 2002: Message edited by: ThePreacher ]

Title: Java compilers for linux
Post by: Kintaro on 24 October 2002, 14:40
Urm sorry but the best IDE for Linux, Unix, Windows, Dos, any anything else supporting it is this thing called vim it will be included in your Linux distro!
Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 24 October 2002, 18:13
Well okay i will look around for your suggestions.  I'll see what is the status on vim, last i looked it wasn't with the personal edition of suse 8.1.
Title: Java compilers for linux
Post by: flap on 24 October 2002, 19:40
vim is an editor, not an ide.
Title: Java compilers for linux
Post by: Calum on 24 October 2002, 21:01
i'm telling you, use xemacs, if you are used to pfe.

do the tutorial before you do anything else. to do this, start emacs, and type 'Ctrl-H' and then 'T' (or is it Ctrl-T?)...
Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 24 October 2002, 21:38
Can you provide a link to it Calum so i can look at it.

Flap:  I live in Blackpool btw.
Title: Java compilers for linux
Post by: Calum on 24 October 2002, 22:48
http://xemacs.org/ (http://xemacs.org/)

however i don't use it, preferring the console based version of emacs. nevertheless, Xemacs, and three other versions of emacs all came for free with my copy of mandrake 9.0.

here's a miniature screenshot:
(http://www.linux-user.de/ausgabe/2000/01/Papierlos/xemacs_s.gif)

click here for another screenshot (http://ivs.cs.uni-magdeburg.de/~dumke/EAD/xopenfile.gif)

and click here for another (slightly fuzzy) screenshot (http://www.ongs.net/daichi/java/freebsdandJava/picture04.jpg).

here's another good screenshot (http://list-archive.xemacs.org/xemacs-mule/200005/jpg00000.jpg)

and a similar but larger... yes, screenshot! (http://list-archive.xemacs.org/xemacs-mule/200005/jpg00001.jpg)

[ October 24, 2002: Message edited by: Calum ]

Title: Java compilers for linux
Post by: Crunchy(Cracked)Butter on 24 October 2002, 23:51
thakyou
Title: Java compilers for linux
Post by: preacher on 25 October 2002, 02:11
Unless they are foolish, every linux and BSD, and Solaris distro includes vim. To use vim type "vi Filename"

I wrote a pretty simple vim tutorial, so check it out at http://www.badconnections.net/vi-tutorial.html (http://www.badconnections.net/vi-tutorial.html)
Title: Java compilers for linux
Post by: flap on 25 October 2002, 02:20
They will all have vi but not necessarily vim.
Title: Java compilers for linux
Post by: Calum on 25 October 2002, 03:06
this is a very old argument, and one which will never be resolved... vi, or emacs?
depends on whether you like minimalist or feature rich i suppose...