![](https://seccdn.libravatar.org/avatar/795bf7052d2703ff0241cb3df2e7ef8e.jpg?s=120&d=mm&r=g)
On Sunday 23 March 2008 07:25:38 am Stan Goodman wrote:
On Sunday 23 March 2008 15:55:34 Kai Ponte wrote:
On Sunday 23 March 2008 04:50:08 am Stan Goodman wrote:
does the JVM I am using (java-1.5.0-sun-1.5.0_update14/bin/java) contain the swing classes internally?
Yes. Unless you're using some open source implementation of Java not created by Sun, you have Swing.
What is the file "./usr/include/c++/4.2.1/javax/swing" that I find?
I have no idea.
However, since 1.5, swing is in the javax.swing library.
Yes, that's what I have seen. But this is not clear to me; perhaps I should have started my query with that.
The location I named above is the only reference to "javax" I find in my system; I find no file or directory called "javax.swing". Is "javax.swing" inside some other java file?
To be even more specific, if I have a java app that is an older jar file that uses swing, and that is old enough that it wants to have the swing library called called in the classpath, how must I call this library? Or does swing need to be in the classpath specifically at all; is it enough that it is in the jvm and will be found automatically/
The background for the question is a java app that I have used for a long time in OS/2, under java v1.4.2. In that case, I did not have to add swing to the classpath. But with the self-same recipe, I have been unable to start the app now, in Linux, and have not been able to identify any other difference between the two environments. What I didn't think of until just now, however, is that I ought to try the app under v1.4.2, which is also on the machine, since the difference in the location of swing begins with java v1.5.
Aren't you the one using some old version of an app that someone else told you to upgrade? In any case, if you want - you can always load some older version of Java to satisfy whatever requirements you need. -- kai www.filesite.org || www.4thedadz.com || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org