gecko-dev/java/plugins
idk%eng.sun.com d42626379d 17316
Class names updated (see 18180)

a=laa@sparc.spb.su
r=idk@eng.sun.com
1999-11-10 00:27:00 +00:00
..
classes bug 18180 1999-11-09 10:28:46 +00:00
examples 17316 1999-11-10 00:27:00 +00:00
jni bug 17859 1999-11-09 10:42:36 +00:00
src bug 18180 1999-11-09 10:28:46 +00:00
test bug 18180 1999-11-09 10:28:46 +00:00
makefile.win updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 02:47:15 +00:00
nsPluginHostImpl.patch Moved to OJI. 1999-09-17 18:41:34 +00:00
README 17747 1999-11-02 08:07:09 +00:00

Java-Implemented Plug-ins.
================================

This directory contains the beginnings of the Java-Implemented plug-uns.

The sources is divided into four directories

	classes
	       Java source files
	src 
	       Native code (c++/c)
	jni
	       Implamentations of java native methods
	test
	       Test code, including simple pluglet.

========================================================================
Win32 Build Directions:
========================================================================
Requirements:

* built M8 mozilla tree for WinNT4.0

* JDK1.3

* Perl 5 perl.exe must be in your path

How To Build:

* Follow the directions in ..\README

* if you do not have working OJI set OJI_DISABLED to 1
  (You can do it in your command prompt, or you can set it in 
   mozilla/java/plugins/src).

* type "nmake /f makefile.win"

* apply the patch to mozilla/modules/plugin/nglsrc/nsPluginHostImpl.cpp
  by executing : patch nsPluginHostImpl.cpp  < nsPluginHostImpl.patch
  and execute "nmake /f makefile.win" inside mozilla/modules/plugin/nglsrc
  directory


How to Run:

* Add following directories to to your path:
  %MOZILLA_FIVE_HOME%
  In case OJI_DISABLED add %JDKHOME%\jre\bin\classic to your path

* Copy class files from mozilla/dist/classes to your JRE/lib/ext directory and
add JRE/lib/ext to your classpath
 
How to build and run test
* go to the test directory and type "nmake /f makefile.win"

* Set PLUGLET environment to the  directory you have test.jar

* Run mozilla and load page test.html from test directory and if evething is ok you will see
  some output from the test pluglet on the stdout.

Problems:

* clobber_all doesn't remove the .class files from dist\classes.  You
  have to do this manually.

* post to netscape.public.mozilla.java newsgroup