gecko-dev/java/plugins
idk%eng.sun.com fed97b7aa5 fix for 20686
one character fix.
changed return value from -1 to 0
1999-12-11 09:08:40 +00:00
..
classes fix for 20686 1999-12-11 09:08:40 +00:00
examples 21291 1999-12-11 00:08:00 +00:00
jni 21259 1999-12-11 00:35:20 +00:00
src Followup bug 19559 1999-12-09 00:58:30 +00:00
test 21291 1999-12-11 00:08:00 +00:00
Makefile 19465 1999-11-20 23:19:40 +00:00
Makefile.in 19465 1999-11-20 23:19:40 +00:00
README 19465 1999-11-20 23:19:40 +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

README

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 Directions:
========================================================================
Requirements:

* current mozilla built tree

* JDK1.3 or JDK1.2 if you are not using OJI

* Perl 5 perl.exe must be in your path

How To Build:

*  make sure the environment var JDKHOME is set to your jdk installation
   directory, ie SET JDKHOME=C:\jdk1.2

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

* type "nmake /f makefile.win"

How to Run:

* Add following directories to to your path:
  %MOZILLA_FIVE_HOME%
  In case OJI_DISABLE 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 everething is ok you will see
  some awt demo.


=========================================================================
Unix (Sparc Solaris and i386 Linux) Directions:
=========================================================================

Requirements:

* current mozilla built tree

* JDK1.2 or JDK1.3 

* Perl 5 must be in your path

How To Build:

*  make sure the environment var JDKHOME is set to your jdk installation
   directory, ie export  JDKHOME=/usr/local/jdk1.2

* Add following directories to to your LD_LIBRARY_PATH:

$MOZILLA_FIVE_HOME:$JDKHOME/jre/lib/$HOSTTYPE/native_threads:$JDKHOME/jre/lib/$HOSTTYPE/classic:
$JDKHOME/jre/lib/$HOSTTYPE/:

* type "gmake"
     
How to Run:
	 
* Add $MOZILLA_FILE_HOME/../classes to your CLASSPATH

How to build and run test
* go to the test directory and type "gmake"

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

* Run mozilla and load page test.html from test directory and if everething is ok you will see
  some awt demo.

  
  
========================================================================

Problems:

* post to netscape.public.mozilla.java newsgroup