LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-01-2001, 08:42 AM   #1
naima
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Rep: Reputation: 0
Java:emacs,Sdk,jde


Wondering if someone could explain to me how JDE gets configred in emacs so that the java compliler recognizes the code to be java ad spits out error. Does SDK do this?

Naima
 
Old 11-02-2001, 08:36 AM   #2
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Yes, the java compiler included in the Java SDK (JDK) spits out syntactical errors, not emacs.

Try it from the command line :

$ javac <FILE> .java

and the same error messages will be printed. Java support from Emacs is in the form of whats called a mule, so it does't output anything directly. Emacs knows to invoke the java mule from the file header or from the .java mime-type.

If you can home in on what it is you want to know, I might be able to help ...
 
Old 11-02-2001, 02:09 PM   #3
naima
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Original Poster
Rep: Reputation: 0
I basically want to do two things.
1. Compile java bytecode from home using my own processor. I figure I will need the compiler Java SDK JRE (what the difference btwn the two ?) and ofcourse an editor ..emacs.Does emacs have to be licenced or is it free!?
2. The other scenario is as a student I have access to the servers in school and can run processes of of there. But I am having trouble figuring out how exactly that all plays out. You know what stuff I need locally as a client so I think I need to run Win32 which I can get and hook that up to the server and have an ssh client to set my display.I think I can pull of the latter but am unsure of the former. exactly what does Sdk do?

Naima
 
Old 11-02-2001, 03:28 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
JRE is just enough to run java applets and stuff, the JDK or J2SE is the acutal whole language, for programming and all that gubbing

the JDK includes the JRE.

if you want to learn java you need the jdk. if you want to just go to poncy website, get the jre.

emacs = linux = GPL = free
i still hate lemacs, jove, vi etc.... pico rules imo, even tho most people hate it. Also nedit is the best X editor i've found for programming.
 
Old 11-03-2001, 04:45 PM   #5
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
I like emacs (sorry ak ) but if you want to get a grip on how java works, you could consider downloading Monash University's integrated development environment (IDE) called bluej . It's written in Java, so you need to tweak it to run it on windows boxes (dos environment size in the properties tab needs to be set to maximum ) but of course linux has no such worries.

I usually code in emacs because of the handy auto indetation, and then page to an IDE to run or test the app.

There are alternatives such as kaffe , which is an open alternative if you're not happy with the compromises the licensors made. (The whole language is a bit of a compromise though ..... happy hacking!)
 
Old 06-01-2002, 02:00 AM   #6
glalu
LQ Newbie
 
Registered: May 2002
Location: Trivadrum/Kerala/India
Distribution: RedHat 7.2
Posts: 13

Rep: Reputation: 0
To Configure JDE just download the following rpm from sourceforge.net

bsh-1.1a11-1.noarch.rpm
elib-1.0-1.noarch.rpm
jde-2.2.8-1.noarch.rpm
speedbar-0.14beta1-1.noarch.rpm
eieio-0.17-beta3.noarch.rpm elib-1.0.tar.gz semantic-1.4beta11-1.noarch.rpm
eieio-0.17beta4.tar.gz

Install the rpm's some order has to be maintained i don't exactly remeber b'cos while the installation of one software will have dependencies with the other, Any install them, once the intallation is completed u are through no need for .emacs file editing all everything will be claen
 
Old 06-02-2002, 03:39 AM   #7
hanxue
LQ Newbie
 
Registered: Jun 2002
Location: Klang, Malaysia
Distribution: Mandrake, Redhat, Slackware
Posts: 5

Rep: Reputation: 0
The best Java editor I have ever seen is jEdit. Get it at www.jedit.org

It is written in Java and it is totally open source. There are loads of plug ins. Furthermore, it is cross-platform, so I use it to code on Win2K, WinXP and Linux boxes.

They also support syntax colouring for most languages such as Perl, Phython, PHP, C/C++
 
Old 06-02-2002, 03:52 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
hey this thread was like 7 months old, let it die huh guys?
 
  


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
Java SDK help! nr5 Linux - Software 5 06-10-2005 08:33 AM
Why There is no Java 2 SDK ? JOKe Debian 5 03-08-2005 02:37 PM
Java SDK Peleus Linux - Newbie 2 04-06-2004 08:31 AM
Java SDK adflynn Programming 2 02-03-2004 07:15 PM
java sdk lsansan Linux - Software 1 05-11-2003 12:58 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:37 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
Open Source Consulting | Domain Registration