🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #527

jar tool and javax.swing not accessible -- help

#527
From: Luke Vanderfluit
Date: Tue, 15 Aug 2000 03:36
32 lines
2038 bytes
Hi,

I'm running Redhat 6.1 and have installed Sun j2SDK13
The java stuff is in /usr/java/jdk1.3/
When I try to run
jar
I get a NoClassDefFoundError: java/util/jar/Manifest

or when I try to run an executable that needs to access javax.swing

I get a NoClassDefFoundError: java/swing/....

I'm thinking that there's something wrong with my classpath,
I have specified all the '.jar' files I could find in my classpath
variable. That works ok for regular programs. I can run javadoc and most
other programs including appletviewer.

What's going on.

I'm thinking if I cut out the jdk1.3 directory in '/usr/java/jdk1.3/'
and place everything in '/usr/java/' it might solve the problem, but
before I do that and create additional problems,

has anyone got any ideas?

Luke

--
Luke Vanderfluit
Phone 61 8 8556 6112
Mobile 0407 854 349
Aldinga Beach, South Australia
Technical Details
Message-ID: <3998BAB2.DCB55D09@chipcity.com.au>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,c5dc221c32259f61,start
X-Google-Attributes: gid10d6db,public
X-Google-Thread: 10fd6d,c5dc221c32259f61,start
X-Google-Attributes: gid10fd6d,public
X-Google-ArrivalTime: 2000-08-14 20:41:49 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!newsfeed.ozemail.com.au!ozemail.com.au!not-for-mail
Message-ID: <3998BAB2.DCB55D09@chipcity.com.au>
From: Luke Vanderfluit <luke@chipcity.com.au>
Reply-To: luke@chipcity.com.au
Organization: it
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: aus.computers.java,comp.lang.java.gui
Subject: jar tool and javax.swing not accessible -- help
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 35
NNTP-Posting-Host: dialup-al-1-48.camtech.net.au
X-Trace: ozemail.com.au 966310906 203.28.1.112 (Tue, 15 Aug 2000 13:41:46 EST)
NNTP-Posting-Date: Tue, 15 Aug 2000 13:41:46 EST
Distribution: world
Date: Tue, 15 Aug 2000 13:06:18 +0930