user310291
user310291

Reputation: 38190

Where is swing.jar in jdk1.6.0?

I read this tut http://www.iam.ubc.ca/guides/javatut99/uiswing/start/swingStart11.html

but I can't find swing.jar in my jdk1.6.0 folder ?

Upvotes: 1

Views: 9834

Answers (3)

Bozho
Bozho

Reputation: 597096

No swing.jar - the swing classes are in rt.jar (of the jre). It's a massive jar containing everything.

Sun (now Oracle) are trying to break that massive jar into modules, but it is not easy. See this article. Project jigsaw is aimed at modularizing the JRE. But for now - it's all in rt.jar

Upvotes: 5

This is a very, very old page discussing Java 1.1 which didn't include Swing.

These days Swing is part of the standard Java runtime library available out of the box.

Upvotes: 2

Howard
Howard

Reputation: 39197

The javax.swing package is included in rt.jar.

Upvotes: 2

Related Questions