Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime environment included in JDK 8. JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/jmx/snmp/defaults/DefaultPaths.java
/* * Copyright (c) 2002, 2003, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jmx.snmp.defaults; // java import // import java.io.File; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * This class represents a set of default directories used by Java DMK. * * <p><b>This API is a Sun Microsystems internal API and is subject * to change without notice.</b></p> * @since 1.5 */ public class DefaultPaths { private static final String INSTALL_PATH_RESOURCE_NAME = "com/sun/jdmk/defaults/install.path"; // private constructor defined to "hide" the default public constructor private DefaultPaths() { } // PUBLIC STATIC METHODS //---------------------- /** * Returns the installation directory for Java DMK. * * The default value of the installation directory is: * <CODE><base_dir> + File.separator + SUNWjdmk + File.separator + jdmk5.0 </CODE> * * @return Java DMK installation directory. */ public static String getInstallDir() { if (installDir == null) return useRessourceFile(); else return installDir; } /** * Returns the installation directory for Java DMK concatenated with dirname. * * The default value of the installation directory is: * <CODE><base_dir> + File.separator + SUNWjdmk + File.separator + jdmk5.0 </CODE> * * @param dirname The directory to be appended. * * @return Java DMK installation directory + <CODE>File.separator</CODE> + <CODE>dirname</CODE>. */ public static String getInstallDir(String dirname) { if (installDir == null) { if (dirname == null) { return getInstallDir(); } else { return getInstallDir() + File.separator + dirname; } } else { if (dirname == null) { return installDir; } else { return installDir + File.separator + dirname; } } } /** * Sets the installation directory for Java DMK. * * @param dirname The directory where Java DMK resides. */ public static void setInstallDir(String dirname) { installDir = dirname; } /** * Returns the <CODE>etc</CODE> directory for Java DMK. * <P> * The default value of the <CODE>etc</CODE> directory is: * <UL> * <LI><CODE>DefaultPaths.getInstallDir("etc")</CODE>. * </UL> * * @return Java DMK <CODE>etc</CODE> directory. */ public static String getEtcDir() { if (etcDir == null) return getInstallDir("etc"); else return etcDir; } /** * Returns the <CODE>etc</CODE> directory for Java DMK concatenated with dirname. * <P> * The default value of the <CODE>etc</CODE> directory is: * <UL> * <LI><CODE>DefaultPaths.getInstallDir("etc")</CODE>. * </UL> * * @param dirname The directory to be appended. * * @return Java DMK <CODE>etc</CODE> directory + <CODE>File.separator</CODE> + <CODE>dirname</CODE>. */ public static String getEtcDir(String dirname) { if (etcDir == null) { if (dirname == null) { return getEtcDir(); } else { return getEtcDir() + File.separator + dirname; } } else { if (dirname == null) { return etcDir; } else { return etcDir + File.separator + dirname; } } } /** * Sets the <CODE>etc</CODE> directory for Java DMK. * * @param dirname The <CODE>etc</CODE> directory for Java DMK. */ public static void setEtcDir(String dirname) { etcDir = dirname; } /** * Returns the <CODE>tmp</CODE> directory for the product. * <P> * The default value of the <CODE>tmp</CODE> directory is: * <UL> * <LI><CODE>DefaultPaths.getInstallDir("tmp")</CODE>. * </UL> * * @return Java DMK <CODE>tmp</CODE> directory. */ public static String getTmpDir() { if (tmpDir == null) return getInstallDir("tmp"); else return tmpDir; } /** * Returns the <CODE>tmp</CODE> directory for Java DMK concatenated with dirname. * <P> * The default value of the <CODE>tmp</CODE> directory is: * <UL> * <LI><CODE>DefaultPaths.getInstallDir("tmp")</CODE>. * </UL> * * @param dirname The directory to be appended. * * @return Java DMK <CODE>tmp</CODE> directory + <CODE>File.separator</CODE> + <CODE>dirname</CODE>. */ public static String getTmpDir(String dirname) { if (tmpDir == null) { if (dirname == null) { return getTmpDir(); } else { return getTmpDir() + File.separator + dirname; } } else { if (dirname == null) { return tmpDir; } else { return tmpDir + File.separator + dirname; } } } /** * Sets the <CODE>tmp</CODE> directory for the product * * @param dirname The <CODE>tmp</CODE> directory for Java DMK. */ public static void setTmpDir(String dirname) { tmpDir = dirname; } // PRIVATE STATIC METHODS //----------------------- private static String useRessourceFile() { InputStream in = null; BufferedReader r = null; try { in = DefaultPaths.class.getClassLoader().getResourceAsStream(INSTALL_PATH_RESOURCE_NAME); if(in == null) return null; r = new BufferedReader(new InputStreamReader(in)); installDir = r.readLine(); }catch(Exception e) { } finally { try { if(in != null) in.close(); if(r != null) r.close(); }catch(Exception e) {} } return installDir; } // PRIVATE VARIABLES //------------------ /** * Directories used by Java DMK. */ private static String etcDir; private static String tmpDir; private static String installDir; }
⏎ com/sun/jmx/snmp/defaults/DefaultPaths.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 251532👍, 3💬
Popular Posts:
JDK 11 java.sql.jmod is the JMOD file for JDK 11 SQL (Structured Query Language) module. JDK 11 SQL ...
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
Jackson is "the Java JSON library" or "the best JSON parser for Java". Or simply as "JSON for Java"....
What is ojdbc.jar - JDBC Driver for Oracle? ojdbc.jar is a JDBC driver from Oracle that provides dat...