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 823129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T02:54:12+00:00 2026-05-15T02:54:12+00:00

Anyone run into this? I realize that 1.6 is the default on OS X,

  • 0

Anyone run into this?

I realize that 1.6 is the default on OS X, but I’m trying to compile/run a program on the command-line using 1.5. However, no matter what I try, it reports 1.6.

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home/bin/java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01-279, mixed mode)
rtp-wwilliam-8712:bin wwilliam$ 

Note the full path to the java binary. No matter what earlier version of Java I try, I always get 1.6 reported as the version.

The java binary does exist at that path. That directory is also the first directory in my path.

Using OS X 10.6.3 with the latest java updates installed.

Thoughts?

  • 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-15T02:54:13+00:00Added an answer on May 15, 2026 at 2:54 am

    Because on 10.6, 1.5 (in the JavaVM framework) is symlinked to 1.6. OS X 10.6 only ships with 1.3 and 1.6; 1.4 and 1.5 are symlinks to 1.6:

    $ ll /System/Library/Frameworks/JavaVM.framework/Versions/
    total 64
    lrwxr-xr-x  1 root  wheel     5B May 19 12:17 1.3@ -> 1.3.1
    drwxr-xr-x  3 root  wheel   102B Dec  2 20:55 1.3.1/
    lrwxr-xr-x  1 root  wheel    10B May 19 12:17 1.4@ -> CurrentJDK
    lrwxr-xr-x  1 root  wheel    10B May 19 12:17 1.4.2@ -> CurrentJDK
    lrwxr-xr-x  1 root  wheel    10B May 19 12:17 1.5@ -> CurrentJDK
    lrwxr-xr-x  1 root  wheel    10B May 19 12:17 1.5.0@ -> CurrentJDK
    lrwxr-xr-x  1 root  wheel     5B May 19 12:17 1.6@ -> 1.6.0
    drwxr-xr-x  8 root  wheel   272B May 19 17:56 1.6.0/
    drwxr-xr-x  9 root  wheel   306B May 19 17:56 A/
    lrwxr-xr-x  1 root  wheel     1B May 19 12:17 Current@ -> A
    lrwxr-xr-x  1 root  wheel     3B May 19 12:17 CurrentJDK@ -> 1.6
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone run into this error message before when using a timer on an
Has anyone else run into this problem before? I've got a method that calls
Has anyone run into this problem? I have a collection of comments that I
Has anyone run into this before? When I choose to delete a row from
Anyone run into this before: After updating DNS records..I do a dig for 'test.somedomain.com'
Has anyone run into this problem... In my layout.phtml I have: <head> <?= $this->headTitle('Control
Has anyone run into issues serializing components into a file and reading them back,
Possible Duplicate: Space bar not working in form fields Has anyone run into an
Has anyone been able to get xinc to run correctly under OpenBSD's chrooted default
Anyone know of a free xls to text converter that can be run from

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.