1999-08-28 08:39:56 +04:00
|
|
|
Java-Implemented Plug-ins.
|
|
|
|
================================
|
2000-06-04 05:02:44 +04:00
|
|
|
http://www.mozilla.org/projects/blackwood/java-plugins/
|
|
|
|
--------------------------------
|
1999-08-28 08:39:56 +04:00
|
|
|
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.
|
|
|
|
|
|
|
|
========================================================================
|
1999-11-21 02:19:40 +03:00
|
|
|
Win32 Directions:
|
1999-08-28 08:39:56 +04:00
|
|
|
========================================================================
|
|
|
|
Requirements:
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* current mozilla built tree
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* JDK1.3 or JDK1.2 if you are not using OJI
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
* Perl 5 perl.exe must be in your path
|
|
|
|
|
|
|
|
How To Build:
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* make sure the environment var JDKHOME is set to your jdk installation
|
|
|
|
directory, ie SET JDKHOME=C:\jdk1.2
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-16 13:44:25 +03:00
|
|
|
* if you do not have working OJI set OJI_DISABLE to 1
|
1999-11-02 11:07:09 +03:00
|
|
|
(You can do it in your command prompt, or you can set it in
|
1999-11-21 02:19:40 +03:00
|
|
|
mozilla/java/plugins/src/makefile.win).
|
1999-11-02 11:07:09 +03:00
|
|
|
|
1999-08-28 08:39:56 +04:00
|
|
|
* type "nmake /f makefile.win"
|
|
|
|
|
|
|
|
How to Run:
|
|
|
|
|
|
|
|
* Add following directories to to your path:
|
1999-09-17 22:41:34 +04:00
|
|
|
%MOZILLA_FIVE_HOME%
|
1999-11-18 03:32:33 +03:00
|
|
|
In case OJI_DISABLE add %JDKHOME%\jre\bin\classic to your path
|
1999-08-28 08:39:56 +04:00
|
|
|
|
1999-11-02 11:07:09 +03:00
|
|
|
* Copy class files from mozilla/dist/classes to your JRE/lib/ext directory and
|
|
|
|
add JRE/lib/ext to your classpath
|
|
|
|
|
1999-08-28 08:39:56 +04:00
|
|
|
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
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* Run mozilla and load page test.html from test directory and if everething is ok you will see
|
|
|
|
some awt demo.
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
=========================================================================
|
|
|
|
Unix (Sparc Solaris and i386 Linux) Directions:
|
|
|
|
=========================================================================
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
|
|
|
* current mozilla built tree
|
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
* JDK1.3
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
* Perl 5 must be in your path
|
|
|
|
|
|
|
|
How To Build:
|
|
|
|
|
|
|
|
* make sure the environment var JDKHOME is set to your jdk installation
|
2000-11-03 02:33:21 +03:00
|
|
|
directory, ie export JDKHOME=/usr/local/jdk1.3
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
* 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
|
2000-11-03 02:33:21 +03:00
|
|
|
|
1999-11-21 02:19:40 +03:00
|
|
|
* go to the test directory and type "gmake"
|
2000-11-03 02:33:21 +03:00
|
|
|
test.jar will be placed in mozilla/dist/bin/plugins directory
|
1999-11-21 02:19:40 +03:00
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
* set LD_PRELOAD to libXm.so
|
1999-11-21 02:19:40 +03:00
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
* Run mozilla and load page resource:///res/javadev/pluglets/test.html and if everething is ok you will see some awt demo.
|
1999-11-21 02:19:40 +03:00
|
|
|
|
|
|
|
|
|
|
|
========================================================================
|
|
|
|
|
|
|
|
Problems:
|
1999-08-28 08:39:56 +04:00
|
|
|
|
|
|
|
* post to netscape.public.mozilla.java newsgroup
|
|
|
|
|
|
|
|
|
|
|
|
|
2000-11-03 02:33:21 +03:00
|
|
|
|
|
|
|
|