This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line!
See this thread for details.
  • 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
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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>.
reply
    Bookmark Topic Watch Topic
  • New Topic