This is a discussion on Developing Java Programs under Slackware. within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, I take a computer science course in school and the language we use is Java. I installed Slackware ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I take a computer science course in school and the language we use is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find programs (IDEs) so I can start write and run my java code? I compiled a sample program with javac, now how do I run it? Will awt and Swing work the same way as on Windows? Thanks for helping! |
| |||
| Jack Wang <wk1989@gmail.com> trolled: > Hi, I take a computer science course in school and the language we use > is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find > programs (IDEs) so I can start write and run my java code? I compiled a > sample program with javac, now how do I run it? Will awt and Swing work > the same way as on Windows? Go on google and type "java ide linux" and you'll find all kinds of free stuff. Most of the people here use their own "ides" using X and the operating system from the command line. It is easy to use multiple copies of vi/emacs and bash shells in multiple xterm windows, to get something a lot easier to work with than an ide. cordially, as always, rm |
| |||
| Den Wed, 10 May 2006 14:45:08 -0700, skrev Jack Wang: > Hi, I take a computer science course in school and the language we use is > Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find > programs (IDEs) so I can start write and run my java code? I compiled a > sample program with javac, now how do I run it? Will awt and Swing work > the same way as on Windows? > > Thanks for helping! Well, for java I prefer using Eclipse (see http://www.eclipse.org) which works decent, and even have cvs-support that works, atleast for sourcefiles, I've had some problems with binary files of different kind. Dunno if that's important to you though. I can't say I've compared awt and swing between platforms much, but from a project where some folks I worked with used Windows, we had no problems with things working on one platform and not working on the other. Good luck -- _ // _ // \\ // \\// \/ Eivind E |
| |||
| Jack Wang wrote: > Hi, I take a computer science course in school and the language we use > is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find > programs (IDEs) so I can start write and run my java code? I compiled a > sample program with javac, now how do I run it? Will awt and Swing work > the same way as on Windows? > > Thanks for helping! > Netbeans has a pretty spiffy IDE: http://www.netbeans.org/products/ide/ |
| |||
| On Wed, 10 May 2006, Realto Margarino wrote: RM> Jack Wang <wk1989@gmail.com> trolled: RM> > Hi, I take a computer science course in school and the language we use RM> > is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find RM> > programs (IDEs) so I can start write and run my java code? I compiled a RM> > sample program with javac, now how do I run it? Will awt and Swing work RM> > the same way as on Windows? RM> RM> Most of the people here use their own "ides" using X and the RM> operating system from the command line. It is easy to use multiple RM> copies of vi/emacs and bash shells in multiple xterm windows, to get RM> something a lot easier to work with than an ide. RM> Realto, I think there is a bit of a culture problem here - nothing to click. You needed to state that the java program can be run from the xterm command prompt and specify what that command line might be. I haven't used Java for a bit so I have forgotten :-( Jack, text editor in one window, command line in the other. Just arrow up to get the command line again. On my linux computer, I have kde set up so that the focus follows the mouse so switching between windows doesn't even need a click. -- Alan ( If replying by mail, please note that all "sardines" are canned. There is also a password autoresponder but, unless this a very old message, a "tuna" will swim right through. ) |
| |||
| On 10 May 2006 14:45:08 -0700 "Jack Wang" <wk1989@gmail.com> wrote: > Hi, I take a computer science course in school and the language we use > is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find > programs (IDEs) so I can start write and run my java code? I compiled > a sample program with javac, now how do I run it? Will awt and Swing > work the same way as on Windows? > > Thanks for helping! > If I were you I would avoid IDEs for the moment. Instead, concentrate on learning the basics: how to edit, compile, and run Java programs. An IDE is a completely over-the-top way of achieving these, and in fact can insulate you from many things you should be appreciating and understanding. Set yourself up with a terminal (to compile and run programs), an editor (to edit source code), and a WWW browser (to study Javadoc). Anything else would be a distraction at this stage. -- Liam |
| |||
| Liam O'Toole ha scritto: > Set yourself up with a terminal (to compile and run programs), an > editor (to edit source code), and a WWW browser (to study Javadoc). > Anything else would be a distraction at this stage. Yeah, completely right. If you want to *understand* and not just compile&run for your school exercise, of course.. |
| |||
| Corrado wrote: > Liam O'Toole ha scritto: >> Set yourself up with a terminal (to compile and run programs), an >> editor (to edit source code), and a WWW browser (to study Javadoc). >> Anything else would be a distraction at this stage. > > Yeah, completely right. If you want to *understand* and not just > compile&run for your school exercise, of course.. Heh, "understand", I think schools generally don't even teach about source control. Name me a school that teaches (basics even) about cvs and subversion and I'll say "wow". *** Posted via a free Usenet account from http://www.teranews.com *** |
| ||||
| Jack Wang wrote: > Hi, I take a computer science course in school and the language we use > is Java. I installed Slackware 10.2 and JDK 1.50_01. Where can I find > programs (IDEs) so I can start write and run my java code? I compiled a > sample program with javac, now how do I run it? Will awt and Swing work > the same way as on Windows? Take a look at jEdit (www.jedit.org). I find the BufferTabs, JDiff, Project Viewer, and Whitespace plugins to be particularly helpful. You probably figured it out already, but the basic commands to compile and run a program are > javac progname.java > java progname AWT and Swing work 99% the same on Linux and Windows. Nothing to worry about unless you are distributing commercial code. If you are new to programming, take the time to learn and use subversion. Worth more than its weight in gold. subversion.tigris.org http://svnbook.red-bean.com/ tortoisesvn.tigris.org - Daniel |
| Thread Tools | |
| Display Modes | |
|
|