Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-17-2007, 11:54 AM   #1
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Rep: Reputation: 15
"Extra bytes at the end of class file" when installing WTK2.2

I am trying to install WTK2.2 on Mandriva 2006 x64, but I am having a problem. I first install jdk-6, and it installs without problems.
The path is /usr/java/jdk1.6.0/bin
The files in this directory are:
appletviewer* javac* jinfo* jstatd* rmid* wsgen*
apt* javadoc* jmap* keytool* rmiregistry* wsimport*
extcheck* javah* jps* native2ascii* schemagen* xjc*
idlj* javap* jrunscript* orbd* serialver*
jar* jconsole* jsadebugd* pack200* servertool*
jarsigner* jdb* jstack* policytool* tnameserv*
java* jhat* jstat* rmic* unpack200*

When I try to install the Wireless Toolkit
I the path of the java interpreter:
but I get this error:
Testing /usr/java/jdk1.6.0/bin/java...
Exception in thread "main" java.lang.ClassFormatError: Extra bytes at the end of class file com/sun/kvem/environment/JavaVersionTester
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.ClassLoader.loadClassInternal(
/usr/java/jdk1.6.0/bin is not a suitable Java interpreter
Enter a path to a Java 2 SDK (For example: /user/jdk1.4/bin). You can type "exit" to cancel installation.

I have also tried:
but I get the same error.

Any suggestions what's wrong here??
Old 03-06-2007, 08:59 PM   #2
Registered: Nov 2004
Location: Newport, RI, USA
Distribution: Mandriva 2006
Posts: 125

Original Poster
Rep: Reputation: 15
I worked around this by un-installing 1.6 and installing jdk1.5.0_06.


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Extra" moderators in the "Distro-forums" : Just curious... Megamieuwsel LQ Suggestions & Feedback 3 07-10-2004 04:18 AM
Oracle 10g says "end of file" cyclic redundancy error mmjulian Linux - Software 2 05-22-2004 02:57 AM
Can I redirect script output to a file without ">> $LOGFILE" at the end of each line davee Linux - General 1 12-19-2003 05:01 AM
"No new line at end of file" Misel Programming 2 12-05-2003 12:55 PM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:14 PM.

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