Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / December 2003

Tip: Looking for answers? Try searching our database.

Installing extra Java Packages

Thread view: 
Chris Bruyere - 16 Dec 2003 15:52 GMT
Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
installed and everything seems ok, but i can't seem to use those packages,
(if in fact they are the right ones) I haven't been able to find any good
docs on the Java site either. I tried setting up my classpath and library
path but nothing happens. Really, i'm not even sure with .jar I should be
trying to find either.

If any one could help me I would really appreciate it.

Thanks
Chris
Skippy - 16 Dec 2003 22:32 GMT
> Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
> packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
> installed and everything seems ok, but i can't seem to use those packages.

Swing is included in Java 1.2+, no need for installing it.

to use the packages, import them:

import javax.swing.*;
import javax.swing.event.*;
import javax.swing.[some other package].*;
hiwa - 17 Dec 2003 00:06 GMT
> Hi All, I'm running Mandrake 9.0 and I am trying to install the java swing
> packages, etc. I downloaded the j2re-1_4_2_01-Linux-i586.rpm.bin and I
[quoted text clipped - 8 lines]
> Thanks
> Chris

You have to download j2sdk-..., not j2re-...
And set/export the PATH accoringly. (bin directory of J2SDK)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.