Skip to main content

Build problem (import-binary-plug-jmf-classes)

1 reply [Last post]
silkworm
Offline
Joined: 2007-09-02
Points: 0

Sorry if this isn't the right place to ask this question. I'm in trouble while trying to build openjdk (openjdk-7-ea-src-b18-16_aug_2007) from sources in my linux system (x86 laptop ubuntu 7.04). I'm following these steps:

- installed jdk1.6 (tried both 1.6 and 1.7) and updated my configuration to make it available for common uses.
- unpacked openjdk in my home directory (/home/myuser/openjdk)
- downloaded the the binary plug (jdk-7-ea-plug-b19-linux-i586-30_aug_2007.jar) and placed in the same folder where the already built jdk is (/usr/local/openjdk1.x.0).
- set both ALT_BINARY_PLUGS_PATH and ALT_BOOTDIR to the path where the working jdk is placed (eg. /usr/local/jdk1.6.0).
- run j2se/make/jdk_generic_profile.sh without any warning or error message
- cd control/make && make sanity (there was a warning message about ALT_JDK_IMPORT_PATH but the check passed)
- make

After some time of compiling i get the following error message:

/bin/mkdir -p /home/utente/openjdk/control/build/linux-i586/lib/i386
rm -f /home/utente/openjdk/control/build/linux-i586/lib/i386/libjsoundalsa.so
/bin/cp /usr/local/jdk1.7.0/jre/lib/i386/libjsoundalsa.so /home/utente/openjdk/control/build/linux-i586/lib/i386/libjsoundalsa.so
make[3]: *** No rule to make target `/usr/local/jdk1.7.0/jre/lib/rt-closed.jar', needed by `import-binary-plug-jmf-classes'. Stop.
make[3]: Leaving directory `/home/utente/openjdk/j2se/make/java/redist'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/utente/openjdk/j2se/make/java'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/utente/openjdk/j2se/make'
make: *** [j2se-build] Error 2

It looks like the problem is this file "rt-closed.jar". I've tried to locate it (updatedb && locate), but it does not exist.

Do i need to install an external package? Where can i find it? Is it possible to disable this feature from the build? Anyway, after solving this problem, am i in the right way or am i misleading the whole process?

Thanks for your attention.

Cheers.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
silkworm
Offline
Joined: 2007-09-02
Points: 0

Ok, that was pretty easy.
Just copied jre/lib/rt.jar to rt-closed.jar.

- Thanks Silkworm!
- Uh? Your welcome ;-)

ps. installed JMF too although i think it's not strictly required