• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Location of Java packages

 
Richards Milan
Greenhorn
Posts: 29
Android Java Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys I have a doubt regarding the location of "packages of JAVA API " is it in the JDK folder or JRE folder ?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don’t add a new question to an existing discussion. I have separated your question off.

Not sure. But I think the .class files are all bundled into a file called rt.jar. So explore your Java™ installation folder and find rt.jar. On a Linux box, you can use Archive Manager to explore the contents of that file, but I don’t know whether there is a corresponding program on Windows®. If you can’t explore it, try copying it to a temporary location and unzipping it. Then you can explore it and play with it, secure in the knowledge you aren’t damaging your installation because you took a copy.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean exactly?

The classes of the standard Java API are in a file named rt.jar, which is included in both the JDK and the JRE.

You can find the source code of these classes in a file named src.zip which is in your JDK installation directory.
 
Campbell Ritchie
Sheriff
Pie
Posts: 47300
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There would only be one thing better than beating Jesper’s post by 17 seconds . . .
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic