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

  • Home
  • SEARCH
  • 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 7866701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:28:53+00:00 2026-06-03T00:28:53+00:00

2 questions. After installing the Oracle Java 7 on my new Debian local box,

  • 0

2 questions.

  1. After installing the Oracle Java 7 on my new Debian local box, I opened up a terminal and executed the following command:

java -version

When I did that it states: java version “1.6.0_26”
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

I installed the Java 7 JDK and Java 7 JRE in the following directories respectively:

/usr/lib/jvm/jdk1.7.0
/usr/lib/jvm/jre1.7.0

  1. Is there a way to remove the java-6-sun and java-6-sun-1.6.0.26 folders as well or will it hurt just to leave them there?

Any help/direction on these 2 questions would be appreciated.

Regards.

  • 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-06-03T00:28:54+00:00Added an answer on June 3, 2026 at 12:28 am

    sudo update-alternatives –config java

    Is the command to swap it i believe.

    You can then call

    which java

    and it should reference the version selected.

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

Sidebar

Related Questions

After installing SQL Server 2005, I tried to create a new database (command: create
Yes, I did read the 'Related Questions' in the box above after I typed
I haven't been able to find a solution the following: After installing gems, such
After checking the posts: Install gcc on linux with no root privilege https://stackoverflow.com/questions/9316118/installing-gcc-as-non-root My
I have a few questions about this after reading the iPhone documentation on it:
By textbook based i mean the author asks the reader questions/mini projects after every
After reading several questions regarding problems with compilation (particularly C++) and noticing that in
After searching the other questions none have answered the specific issue I have. We
After looking at several questions/answers here, I'm not seeing what I think I need.
After cobbling together a few questions I've managed to get this far to showing

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.