View Single Post
  #1   (View Single Post)  
Old 21st July 2011
Satyriasis's Avatar
Satyriasis Satyriasis is offline
OBSD Zealot
 
Join Date: Jul 2011
Location: The Valley
Posts: 3
Default Java Installation Woes

I understand the OpenBSD community's uneasy feelings about Java, both for
licensing reasons and because it opens a broad vector for many
vulnerabilities.

Nonetheless, I need to have the Java plugin installed in my browser to use
some essential work-related programs, and I'd like to continue with OpenBSD
as my as my desktop OS.

I've built jdk 1.5 and its associated jre from the snapshot ports of 7/18
(the machine is running that day's snapshot). I have firefox35 and the
current firefox (5.0) both installed from packages. The jdk compiled
cleanly and installed without a hitch. However, I can't seem to get the
java plugin to register with firefox35. I've searched previous discussions
in the forum (including the recent exchange about a similar situation that
sepuku encountered) without finding a solution for my problem.

I've soft-linked the plugin to ~/mozilla/plugins and to the system
locations, both /usr/local/lib/mozilla/plugins (as the README says), and to
/usr/local/lib/mozilla-plugins (as pkg_info -M for the jdk instructs). I've
set MOZ_PLUGIN_PATH to all these locations and rebooted after each change.

I also tried pkg_delete on firefox-5.0 so that it couldn't interfere with
things. No luck. aboutlugins shows no libjavaplugin_oji.so (or any other
plugin) in firefox35.

Both java and javascript are enabled in the firefox35 preferences. I have
JAVA_HOME set and have tried this with the jdk bin/ directory in my PATH and
not in my PATH (as I would prefer it). Nothing seems to work.

Can anyone offer any advice on a solution, or let me know what additional
information I can provide?

Thanks.
Reply With Quote