Installation path for JDK under Mac-ios (Java)

Source: Internet
Author: User
Tags java se

Apple's Mac system already contains the complete J2SE (Java SE), with JDK and JVM (Apple called VM), and if you want to upgrade the JDK, you need to download the installation yourself. In a Mac system, the JDK installation path is different from Windows, and the default directory is:/system/libray/frameworks/javavm.framwork/. In this directory there is a versions directory with different versions of the JDK.

First, let's open the hard drive:finder--> go to--> computer-->macintosh HD




To connect to a view in the SSH tool:
Suningdemac-mini:frameworks suning$ ls

Suningdemac-mini:frameworks suning$ ls agl.framework coredisplay.framework foundation.framework LatentSemanticMappi				Ng.fra avfoundation.framework corefoundation.framework glkit.framework localauthentication.frame AVKit.framework				Coregraphics.framework glut.framework mapkit.framework accelerate.framework coreimage.framework GSS.framework Mediaaccessibility.framew accounts.framework corelocation.framework gamecontroller.framework MediaLibrary.framewor K addressbook.framework coremidi.framework gamekit.framework mediatoolbox.framework AppKit.framework CoreMIDIS Erver.framework gameplaykit.framework message.framework appkitscripting.framework CoreMedia.framework Hypervisor.f		
Ramework metal.framework applescriptkit.framework coremediaio.framework icadevices.framework MetalKit.framework 		Applescriptobjc.framework coreservices.framework imcore.framework modelio.framework ApplicationServices.framework Coretelephony.framework			Imserviceplugin.framework Multipeerconnectivity.fra audiotoolbox.framework coretext.framework IOBluetooth.framewor K netfs.framework audiounit.framework corevideo.framework iobluetoothui.framework NetworkExtension.framewor Aud Iovideobridging.framework corewlan.framework iokit.framework Notificationcenter.framew Automator.framework CryptoT Okenkit.framework iosurface.framework osakit.framework cfnetwork.framework dvcomponentglue.framework ImageCaptureC		
Ore.framework openal.framework calendarstore.framework dvdplayback.framework imageio.framework OpenCL.framework Carbon.framework directoryservice.framework inputmethodkit.framework opendirectory.framework CloudKit.framework D Iscrecording.framework installerplugins.framework opengl.framework cocoa.framework DiscRecordingUI.framework Inst Antmessage.framework pcsc.framework collaboration.framework diskarbitration.framework Intents.framework Photos.fr Amework Contacts.frameWork drawsprocket.framework javaframeembedding.framework photosui.framework contactsui.framework EventKit.framewo RK javascriptcore.framework preferencepanes.framework coreaudio.framework exceptionhandling.framework JavaVM.framew Ork pubsub.framework coreaudiokit.framework fwauserlib.framework kerberos.framework Python.framework 			Ooth.framework findersync.framework kernel.framework qtkit.framework coredata.framework ForceFeedback.framework	 Ldap.framework Quartz.framework

Suningdemac-mini:frameworks suning$ CD javavm.framework/
Suningdemac-mini:javavm.framework suning$
Suningdemac-mini:javavm.framework suning$ ls
Frameworks JAVAVM Resources versions
Suningdemac-mini:javavm.framework suning$ CD versions/
Suningdemac-mini:versions suning$
Suningdemac-mini:versions suning$ LS
A Current
Suningdemac-mini:versions suning$ LS
A Current
Suningdemac-mini:versions suning$ ls
A Current
Suningdemac-mini:versions suning$ CD Current
Suningdemac-mini:current suning$
Suningdemac-mini:current suning$ LS
Commands Frameworks Javaplugincocoa.bundle JAVAVM Resources _codesignature
Suningdemac-mini:current suning$ CD frameworks/
Suningdemac-mini:frameworks suning$ ls
Javanativefoundation.framework Javaruntimesupport.framework
Suningdemac-mini:frameworks suning$ CD.
Suningdemac-mini:current suning$ ls
Commands Frameworks Javaplugincocoa.bundle JAVAVM Resources _codesignature
Suningdemac-mini:current suning$ CD JAVAVM
-bash:cd:javavm:not a Directory
Suningdemac-mini:current suning$ Java version
Unable to find a $JAVA _home at "/usr", continuing with system-provided JAVA ...



User-installed JDK:


Next to the diagram, the bin file can be seen Java,javac two execution programs






Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.