LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   EMACS and JAVA (https://www.linuxquestions.org/questions/linux-newbie-8/emacs-and-java-133389/)

AaronUFC 01-10-2004 09:47 AM

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

hw-tph 01-10-2004 10:15 AM

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

AaronUFC 01-10-2004 10:16 AM

thanks alot i will try them both out


All times are GMT -5. The time now is 11:27 PM.