1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
\begin{verbatim}
Since GL4Java Version 2.0.0 Release 1,
GL4Java do supports the Java2 plattform !
Since GL4Java Version 2.7.1,
GL4Java do supports the privileges of the extension mechanism !
Please read INSTALL.txt first !
You may have many Java2 installation's, e.g.:
under unix, e.g.:
/jdk1.3
/usr/lib/jre1.3
or under window, e.g.:
c:/jdk1.3
c:/Programme/JavaSoft/JRE
If you want to use both java installations,
you have to install it in both directories !
E.g. the first one is for you development usage,
where the secound one is for your java jre 1.3 plugin usage
within your web browser.
If you use the JRE >= 1.3 plugin within you Web-Browser or appletviewer to:
- Install GL4Java
- Run the demo's from the GL4Java Website
you must add privileges to your
jre/lib/security/java.policy
file, to install GL4Java with the GL4Java Installer !
Here are the privileges for this purpose (installation only):
http://www.jausoft.com/Files/Java/1.1.X/GL4Java/Installer/java.policy
Prerequisites
==============
Be sure to have:
./jre/lib/ext/gl4java.jar : for Java2 or JRE
./jre/lib/ext/gl4java-glutfonts.jar : for Java2 or JRE
./jre/lib/ext/png.jar : for Java2 or JRE
For Windows32: Java2-Plug-In, Java2, JRE (prefered)
./jre/bin/GL4JavaGljMSJDirect.dll
./jre/bin/GL4JavaJauGljJNI.dll
./jre/bin/GL4JavaJauGljJNI12.dll
./jre/bin/GL4JavaJauGljJNI13.dll
./jre/bin/GL4JavaJauGljJNI14.dll
or
c:/windows/system/GL4JavaGljMSJDirect.dll
c:/windows/system/GL4JavaJauGljJNI.dll
c:/windows/system/GL4JavaJauGljJNI12.dll
c:/windows/system/GL4JavaJauGljJNI13.dll
c:/windows/system/GL4JavaJauGljJNI14.dll
For Unix: Java2-Plug-In, Java2, JRE (prefered)
./jre/lib/<machine>/libGL4JavaJauGljJNI.so*
./jre/lib/<machine>/libGL4JavaJauGljJNI12.so*
./jre/lib/<machine>/libGL4JavaJauGljJNI13.so*
./jre/lib/<machine>/libGL4JavaJauGljJNI14.so*
or
/usr/lib/libGL4JavaJauGljJNI.so*
/usr/lib/libGL4JavaJauGljJNI12.so*
/usr/lib/libGL4JavaJauGljJNI13.so*
/usr/lib/libGL4JavaJauGljJNI14.so*
* => all symbolic links and the file itself,
use "cp -a" to keep the symbolic links alive !
Be sure to copy the linked lib-files also !
After installation you may do a "ldconfig"
call as root !
Java2 Command-Line JDK (1.3-1.4.X, sun) on Win32:
=================================================
Well, you have to start the java.exe from the
<jdk-path>/jre/bin/java.exe
Otherwise, the jawt.dll is not found !! BUG in JDK !!
Java2-Plug-In, Appletviewer, Security:
======================================
Since GL4Java 2.7.1, the gl4java*.jar files must resides within
the jre/lib/ext directory. In this case no special policy
is needed for use GL4Java and you can skip this chapter !!
For GL4Java <= 2.7.0 only:
To allow JAVA2's appletviewer and Plug-In using JNI native libs,
just look at GL4Java/demo/Java2Applet.bat
(You have to change the GL4Java.policy file) !
You can - of course - use your 'policytool',
which is shipped with JAVA2 !
You can check JAVA2-Plug-In with the Java-Applets-Html-File's
demos/glLogoCvsAppletJ2P.html
demos/glOlympicCvsAppletJ2P.html
demos/testTextPPM1J2P.html
To use the demo Applets for Java2-Plug-In from www.jausoft.com,
please add the following lines to your java.policy file:
grant codeBase "http://www.jausoft.com/Files/Java/1.1.X/GL4Java/demos/-" {
permission java.security.AllPermission;
};
TODO:
=====
Test other plattforms :-)
\end{verbatim}
|