• Post Reply Bookmark Topic Watch Topic
  • New Topic

Just learning  RSS feed

 
Matthew Middleton
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am very new at using linux, I've been programming in windows for 5 years now and would love to learn the ins and outs of programming on a linux machine. I currently have Red Hat 9.0 installed on my computer, any tips, or tutorials on learning how to do this would be greatly appriciated. Thanks for everything and GOD bless.

Matthew Middleton
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Programming is pretty broad. Care to narrow it down a bit? Java programming shouldn't be any different. C++ woud be a bit different. What language are you talking about here?
 
Matthew Middleton
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was talking about java. If its no different, which program should you use to write it that would be the conterpart to notepad, and how do you handle the command prompt in linux. Thanks again and GOD BLess.
 
John Smith
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You handle the java classpath by setting the PATH object, you might like to read up a bit on PATH and .bashrc + .bash_profile. These files will help you with setup. The equivalent to notepad I guess would be vim (I use and like it for the speed) however other popular editors are netbeans, emacs, xemacs which you may like to try.
 
Joe Ess
Bartender
Posts: 9439
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Smith:
You handle the java classpath by setting the PATH object




The classpath environment variable is still "classpath" on *nix systems. As for the basics of working with Linux, take a look at the recommendations in this post.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well - on my system the classpath is CLASSPATH.
And java likes the 'JAVA_HOME' - variable to be set.

And as far as I know, there is not such trash like notepad on linux

Kate, Kedit and - for console: mcedit - have Syntaxhighlightening for java, the first both handle multiple files and all three are included in most distributions.
Another lean editor is SciTe - available for linux and windows.

Symbolic links are a famous invention, available on linux.
I have

and a small script jswitch, which deletes my symbolic link (/opt/java), and recreates it and points to the 1.4 or the 1.5 version (jswitch 14).
So I can change the environment in one second.

btw.: The pathseparator is ':', not ';'.
Variables are $PATH, not %PATH%.

You're welcome!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!