📄 readme
字号:
This is a short description on the use of the java demo.Instructions.1) Start erlang with the options -s <server> -setcookie <cookie>. On a terminal, type : --------------------- erl -s server -setcookie flash2) Run the simple make program : On the started erlang shell, type : ----------------------------------- setup:make(). ( builds the demo ). 3) Start the mnessia_session server : On the started erlang shell, type : ----------------------------------- setup:server(). ( starts the java-server )4) Set and export the CLASSPATH variable to point to the java classes located in java development kit, the Otp's classes, the current directory and the mnesia_session.jar file. Your classpath should look like this : .:./mnesia_session.jar:<OTPROOT>/lib/ic-3.8.1/priv/ic.jar:<OTPROOT>/lib/jinterface_0.9.1/priv/OtpErlang.jar where : <OTPROOT> is the location there OTP is installed. 5) Call the client on an terminal window with : java person_ex <client> <server> <cookie> ( calls the server ) where <client> is the client name, <server> is the server name and <cookie> is the cookie for the connection. In this example you should use : java person_ex client server flash
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -