LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2004, 10:47 AM   #1
AaronUFC
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
EMACS and JAVA


hi,
i have installed emacs and java on redhat 9.0, i added export PATH=/usr/java/j2sdk1.4.1_01/bin:$Path to the emacs .bash profile, typing in javac in the terminal yeilds a list of compiler commands and switches so i assume i configured emacs corrrectly, i hope. When i used windows i used textpad, emacs is considerably more indepth. I was hope someone could give me three instructions.

1. how to start a new java file
2. how to compile it
3. how to run it

also text coloring and indenting

thanks,
aaronUFC
 
Old 01-10-2004, 11:15 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
JDE for Emacs is an addon package that allows you to compile Java code from within Emacs and have a usable error window which displays errors and other compilation information. A blurb from the web site:
Quote:
# JDEE menu with compile, run, debug, build, browse, project, and help commands
# syntax coloring
# auto indentation
# compile error to source links
# source-level debugging
# source code browsing
# make file support
# automatic code generation
# Java source interpreter (Pat Neimeyer's BeanShell)
I have used it a little bit at university but I'm more comfortable with vim (usually gvim) so that's what I use.


Håkan
 
Old 01-10-2004, 11:16 AM   #3
AaronUFC
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
thanks alot i will try them both out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Want to use Emacs for java but have a few questions vdogvictor Programming 5 06-26-2004 01:02 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 08:31 AM
Emacs and Java AaronUFC Linux - Newbie 2 02-14-2004 07:52 PM
Java:emacs,Sdk,jde naima Programming 7 06-02-2002 04:52 AM
forte/emacs for java questions keirobyn Programming 5 02-05-2002 01:04 PM


All times are GMT -5. The time now is 05:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration