Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Just learning

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
reply
    Bookmark Topic Watch Topic
  • New Topic