Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4083554
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:19:39+00:00 2026-05-20T18:19:39+00:00

While I try to set java path on ~./bashrc file i exported like: PATH=/usr/local/jdk1.6.0/bin

  • 0

While I try to set java path on ~./bashrc file i exported like:

PATH=/usr/local/jdk1.6.0/bin
export PATH

which I guess makes all the other path missing.So it makes me any of the core command like cp not working. I am aware the default ~./bashrc file will be there on /etc/skel. But since none of the common comments working i am not able to copy it. Is there any way we can revert original ~./bashrc?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T18:19:40+00:00Added an answer on May 20, 2026 at 6:19 pm

    Put something like:

    PATH=/your/jdk/bin/path:${PATH}
    export PATH
    

    That way, your path gets prepended to the regular PATH environment.

    And simply log out and log back in to reset your environment.
    Or type this:

    export PATH=/usr/bin:/usr/local/bin
    

    or this

    . /etc/profile
    

    to reload a basic environment if you can’t get an editor to work right now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While we try to set up as many unit tests as time allows for
So, if I try to remove elements from a Java HashSet while iterating, I
getting error while try to start service
I need to write a delegate function that can 'wrap' some while/try/catch code around
How to generate a KeyboardInterrupt in Windows? while True: try: print 'running' except KeyboardInterrupt:
I've been struggling for a while with this one; I'll try to explain it
I've been using c++ for a while, and I'm familiar with normal try/catch. However,
My application is raising an unauthorized access error. While running my application, I try
I have a little Java project where I've set the properties of the class
I'm using an FPS cap which to set to 60 fps. I've tested it,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.