ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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 ...
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?
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.
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!)
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
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++
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.