LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
LinkBack Search this Thread
Old 10-03-2006, 03:15 PM   #1
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Rep: Reputation: 15
Angry 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.
 
Old 10-03-2006, 07:01 PM   #2
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
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.
 
Old 10-04-2006, 06:45 AM   #3
hairysocks
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: Reputation: 16
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.
 
Old 10-04-2006, 01:31 PM   #4
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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.
 
Old 10-04-2006, 01:34 PM   #5
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
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.
 
Old 10-04-2006, 01:37 PM   #6
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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?
 
Old 10-07-2006, 02:41 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,459

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
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
 
Old 10-09-2006, 04:30 PM   #8
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2006, 04:35 PM   #9
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
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
 
Old 10-09-2006, 04:39 PM   #10
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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.
 
Old 10-09-2006, 05:57 PM   #11
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,459

Rep: Reputation: 352Reputation: 352Reputation: 352Reputation: 352
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.
 
Old 10-16-2006, 04:23 PM   #12
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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
 
Old 10-24-2006, 04:55 PM   #13
Tux-O-Matic
Member
 
Registered: Sep 2006
Distribution: Fedora Core 5 (no internet)
Posts: 95

Original Poster
Rep: Reputation: 15
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.
 
  


Reply

Tags
java, packages


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Synaptic Package Manager shows 'java-common' and 'java-gcj-compat' as Installed. swiadek Ubuntu 3 02-12-2006 11:54 AM
Java Package Problems logosys Programming 1 09-27-2005 01:39 PM
Installing java without using the package zwyrbla Slackware 9 01-25-2005 06:40 PM
Where is java 1.4.2_06 package acanton Slackware 2 12-27-2004 08:05 AM
Java can't find package, but PATH set correctly (j2se1.4.0, java.util.regex package) Ethan Programming 5 02-06-2004 09:55 PM


All times are GMT -5. The time now is 04:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration