Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

OS X MOZ_PLUGIN_PATH with custom Java location

  • 7 답장
  • 2 이 문제를 만남
  • 1 보기
  • 최종 답변자: mzelic

more options

I'm trying to use Firefox with Java both on a usb stick. On Windows this works with setting the MOZ_PLUGIN_PATH environment variable to java plugin location (..\Java\bin\plugin2).

I tried to do the same on Mac OS X (10.9.5), Firefox 33.0.1, Java 7u67 but it doesn't work. It works only if Java is locally installed.

For the test I copied the /Library/Internet Plug-Ins/JavaAppletPlugin.plugin and unpacked JRE (jre/lib) to some test directory and set the MOZ_PLUGIN_PATH to it.

Thanks in advance for any help, Marko

I'm trying to use Firefox with Java both on a usb stick. On Windows this works with setting the MOZ_PLUGIN_PATH environment variable to java plugin location (..\Java\bin\plugin2). I tried to do the same on Mac OS X (10.9.5), Firefox 33.0.1, Java 7u67 but it doesn't work. It works only if Java is locally installed. For the test I copied the /Library/Internet Plug-Ins/JavaAppletPlugin.plugin and unpacked JRE (jre/lib) to some test directory and set the MOZ_PLUGIN_PATH to it. Thanks in advance for any help, Marko

모든 댓글 (7)

more options

Mozilla Firefox, Portable Edition {web link} Mozilla Firefox®, Portable Edition is the popular Mozilla Firefox web browser bundled with a PortableApps.com Launcher as a portable app, so you can take your bookmarks, extensions and saved passwords with you.

more options

This is only for Windows. So I have everything working on Windows, but the problem is Mac OS X. I need a way to point to a custom Java directory plugin (not /Library/Internet Plug-ins/).

more options

That I did not know. Did you contact http://portableapps.com/ to see if they have a Mac version?

I called the big guys to help out.

more options

Thanks for your help! I found a couple of portable Mac versions but none work. I had no luck with portableapps forum. There is similar topic: http://portableapps.com/node/21946#comment-218725

I even pulled the Firefox source code and greped for MOZ_PLUGIN_PATH which is in file xpcom/io/nsAppFileLocationProvider.cpp I'm not much of a C programmer, but it seems that this environment variable is ignored on Mac OS.

If Java in Firefox works with installed Java, then it should be possible to use it in a different location (usb stick), maybe with recompiling something differenet...

more options
more options

This confirms that MOZ_PLUGIN_PATH is not read in Mac OS:

Mac OS X ~/Library/Internet Plug-Ins. /Library/Internet Plug-Ins. /System/Library/Frameworks/JavaVM.framework/Versions/Current/Resources. Plug-ins within toolkit bundles. Profile directory/plugins, where Profile directory is a user profile directory.

I did the following: - moved JavaAppletPlugin.plugin from /Library/Internet Plug-In to some [temp_dir]/plugins. So there is no java support now, and applets are not working - started Firefox from command line with -profile [temp_dir]

But applet is still not loaded. Do you know is there something else than JavaAppletPlugin.plugin that is needed?

more options

Has anyone ever tried to put Java plugin in [Profile directory]/plugins?