Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-03-2006, 03:15 PM
|
#1
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Rep:
|
Java Package Help!
Does anyone know where I can find the following packages for Linux: - TurtleGraphics
- TerminalIO
- java.util
- BreezySwing
- Swing
I would prefer to have an rmp, self-extracting file. Either that, or a complete explanation with the packages explaining where everything goes. If you say to get the JDK, please don't, because I already had some memory problems with that (computer memory, that is). Thanks. 
|
|
|
|
10-03-2006, 07:01 PM
|
#2
|
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496
Rep:
|
Well, that's too bad about your memory problems, because 2 of those are in the official Sun JDK (java.util and Swing). Maybe try one of the open source JDK implementations instead (kaffe, gcj, etc.).
If you explained what you were trying to do it would probably help with the number of answers.
|
|
|
|
10-04-2006, 06:45 AM
|
#3
|
|
Member
Registered: May 2002
Location: Thorverton, Near Exeter, Devon, England
Distribution: Ubuntu 10.04 (used to be Red Hat 7.1, then Red Hat 9, then FC 2, FC 5, FC 6, FC 9 and Ubuntu 8.04)
Posts: 98
Rep:
|
If the memory problems are to do with Java running out of memory, then you might be able to fix that by adding the -Xmx parameter to your java command. This defines the maximum amount of memory that is available in the java memory pool. Its default is 64MB, and if your computer has a lot more than that you could get your application running by using a value of -Xmx512.
|
|
|
|
10-04-2006, 01:31 PM
|
#4
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
I'm not all that worried about the memory (I found out it was my trash bin sucking it up). Now I'm just concerned about BreezySwing and TerminalIO for Linux.
|
|
|
|
10-04-2006, 01:34 PM
|
#5
|
|
Member
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496
Rep:
|
Then I don't see what the deal is, you just search for TerminalIO and BreezySwing and download the jar files for them. It isn't like you'll get rpm files that just have 1 or 2 jars in them. Do you want to use them for development? You still haven't explained what you want to do, so it isn't clear.
|
|
|
|
10-04-2006, 01:37 PM
|
#6
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
I've looked for them up and down Google, and all around the java.sun site. I don't see any pagckages for Linux. And I want the packages for Linux, buecause I don't know where the packages go. in /usr/bin/java?
|
|
|
|
10-07-2006, 02:41 AM
|
#7
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
What are these packages you want for Linux ?
Jar files a platform independant, so they would work for linux or any other platform.
Try following the instructions here, everything is explained.
http://webster.cs.wlu.edu/breezyswin...al/default.htm
|
|
|
|
10-09-2006, 04:30 PM
|
#8
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
That's not what I'm concerned about. I'm simply concerned about where the packages go. There are plenty of instructions for Windows, but I've scoured Google, and I don't see any for Linux.
|
|
|
|
10-09-2006, 04:35 PM
|
#9
|
|
Senior Member
Registered: Jan 2006
Posts: 4,362
Rep: 
|
Tux
With platform independent stuff you can put it anywhere you like. If it is just for you put it in your home directory. If it is to used system wide put it in any directory that is in your path.
Lazlow
|
|
|
|
10-09-2006, 04:39 PM
|
#10
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
I've put it anywhere I please since it's for personal use. Still, the compiler doesn't recognize TerminalIO and BreezySwing. Yes, I do say
import TerminalIO.*;
or
import BreezySwing.*
at the beginning of my program (outside the class declaration of course), but it just doesn't recognize the package.
Do I need to specify the class path? If so, please tell me how. Thanks.
|
|
|
|
10-09-2006, 05:57 PM
|
#11
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Quote:
|
Originally Posted by Tux-O-Matic
That's not what I'm concerned about. I'm simply concerned about where the packages go. There are plenty of instructions for Windows, but I've scoured Google, and I don't see any for Linux.
|
That is what you are concerned about !
If you care to read carefully the above mentioned link, you'll find that the instructions are given for Linux too (i.e. Other Environments).
Well, I concede they aren't given clearly enough, so here the answer your are looking for:
copy these jars to your <jre-directory>/lib/ext directory.
|
|
|
|
10-16-2006, 04:23 PM
|
#12
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
It's a little strange, I know, but I'll post my own answer in this one (I don't know if anyone else answered it...sorry). For future reference, you need to create a CLASSPATH for the packages. I actually created an alias to make it easier. But, that's how you do it 
|
|
|
|
10-24-2006, 04:55 PM
|
#13
|
|
Member
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95
Original Poster
Rep:
|
Okay, maybe creating a class path didn't help. I know I'm annoying, but if someone knows what to do, please tell me. I've done everything I know how to do: try yum, unzip a package, download a birnary file, creating a class path, placing it in the java/lib/ext direcotry...
If anyone has had this problem and has fixed it, I would greatly appreciate it if you could tell me. Thanks so much.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:49 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|