Building build 46 on build 46
Wow, I must be one of the first folks to actually try building onnv_46 on a machine freshly installed with build 46 (as against upgraded from something earlier).
To save others grief, it looks like in the nevada distribution of build 46, SUNWj3rt (tha java 1.4 runtime) was removed. All well and good except that there is a Makefile in the onnv source tree that directly refers to
/usr/j2se/jre/lib/rt.jar. This causes the build to fail.
The workaround that I’m currently using is to install SUNWj3rt from build 45. It seems to be working.
It appears that it’s only one Makefile that does this, the offending from usr/src/lib/libadt_jni/com/sun/audit/Makefile is
37 JAVAFLAGS += -source 1.4 -target 1.4 -bootclasspath /usr/j2se/jre/lib/rt.jar
I’ve logged the following bug against this issue
6463409 Makefile still refers to /usr/j2se after removal of SUNWj3rt