Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Setting up the PATH variable in Fedora Core

 
Ranch Hand
Posts: 289
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am failing to do the seemingly simple task of setting up the PATH variable in my fedora core. I thought I am trying to append the path to my Fedora Core directories for the execution of the asadmin commmand. I was doing something like this
setenv PATH /opt/SUNWappserver/bin:$PATH
Can somebody tell me what I am doing wrong? and also even if I execute the asadmin command from the full path, I get an error message.
Furthermore, I really don't know how to find where my java installation is, that is I don't seem to find the javac and java commands. I installed the j2ee application server and j2sdk.
Herbert
 
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you using bash or csh? Type in >echo $SHELL. Most likely you using bash shell. The correct command should be export PATH=$PATH:<PATH TO JAVA>.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic