📄 readme.txt
字号:
This is a Console example
** Windows **********************************************
It is configured to find JNI.pas in ..\..\PAS.
First create NATIVE.dll by compiling NATIVE.dpr with Delphi.
The second step is to compile Main.java and Native.java with
the Java compiler. For Sun's JDK this is javac.exe.
You will get Main.class and Native.class.
Now you can start the Java program Main by executing
java Main
in a console window (DOS box).
** Kylix ************************************************
Please add ../../PAS to the search path in the project options
in Kylix.
First create NATIVE.so by compiling NATIVE.dpr with Kylix.
The second step is to compile Main.java and Native.java with
the Java compiler. For Sun's JDK this is javac.
You will get Main.class and Native.class.
You may have to include the Kylix bin directory and the current
directory into your library path.
Check if the environment variable LD_LIBRARY_PATH contains
these directories.
Sample entry: LD_LIBRARY_PATH=/opt/kylix/bin:.
Now you can start the Java program Main by executing
java Main
in a shell window.
*********************************************************
See the included documentation for details.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -