On 2/18/06, Aaron Hsu <[EMAIL PROTECTED]> wrote:
> I'm trying to get the Java plugin for my browsers (Opera and Firefox),
> and from what I can tell from the documentation, this is done by
> installing the jdk package. The documentation I read said that only
> the 1.3 and 1.4 version have plugins for browsers, so I chose 1.4.
>
> Doing a make after installing the requisite files to
> /usr/ports/distfiles gives:
>
> bad class file: /usr/ports/devel/jdk/1.4/w-jdk-1.4.2p3/control/build/ \
> bsd-i586/classes/javax/swing/JList.class
> illegal start of class file
> Please remove or make sure it appears in the correct subdirectory of
> the classpath.
>         JList list,
>         ^
> 1 error
>
> Could someone explain this to me, as well as how to fix it?

did 1.3 build successfully?

to get to jdk 1.5 I had to build the following packages first:

jdk-linux-1.3.1_15.tgz
jdk-1.4.2p2.tgz

In that order. It's been a while, but my understanding is that each
version needs the previous version as a prerequisite to build.

are you using 3.8 ports tree? 3.9? -current? -stable?

If you want help, post a more descriptive log of the build process you
did as well as the error.

Reply via email to