mirror of
https://gitee.com/pengzhile/jetbrains-agent.git
synced 2024-11-18 08:18:48 +00:00
update readme
Signed-off-by: pengzhile <pengzhile@gmail.com>
This commit is contained in:
parent
349aa6949e
commit
e005069a98
28
README.txt
28
README.txt
@ -3,15 +3,17 @@
|
|||||||
======= https://zhile.io =======
|
======= https://zhile.io =======
|
||||||
====================================================
|
====================================================
|
||||||
|
|
||||||
|
*** 请先一定仔细阅读本文档!可以参考文件夹内:javaagent_sample.png和address_sample.png ***
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
0. Download the jetbrains-agent.jar first.
|
0. Download the zip package and get jetbrains-agent.jar first.
|
||||||
Releases page: https://github.com/pengzhile/jetbrains-agent/releases
|
Releases page: https://zhile.io/files/jetbrains-agent-v2018.2.2.zip
|
||||||
1. Click IDE menu "Help" -> "Edit Custom VM Options ..."
|
1. Click IDE menu "Configure|Help" -> "Edit Custom VM Options ..."
|
||||||
2. Append "-javaagent:{JetbrainsAgentJarPath}" to end line.
|
2. Append "-javaagent:/absolute/path/to/jetbrains-agent.jar" to end line.
|
||||||
eg: -javaagent:$USER_HOME/jetbrains-agent.jar
|
eg: -javaagent:/Users/neo/jetbrains-agent.jar
|
||||||
3. Restart IDE.
|
3. Restart IDE.
|
||||||
4. Entry license server address:
|
4. Entry license server address:
|
||||||
http://[any 16 characters domain name(without:'/', '[', ']')]
|
http://[any exactly 16 characters domain name(without:'/', '[', ']')]
|
||||||
5. If show error msg:
|
5. If show error msg:
|
||||||
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
|
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
|
||||||
Please modify the jar file path to absolute path.
|
Please modify the jar file path to absolute path.
|
||||||
@ -19,16 +21,16 @@
|
|||||||
|
|
||||||
|
|
||||||
使用方法:
|
使用方法:
|
||||||
0. 先下载jetbrains-agent.jar,把它放到你认为合适的文件夹内。
|
0. 先下载压缩包解压后得到jetbrains-agent.jar,把它放到你认为合适的文件夹内。
|
||||||
下载列表地址:https://github.com/pengzhile/jetbrains-agent/releases
|
下载列表地址:https://zhile.io/files/jetbrains-agent-v2018.2.2.zip
|
||||||
1. 点击你要注册的IDE菜单:"Help" -> "Edit Custom VM Options ..."
|
1. 点击你要注册的IDE菜单:"Configure|Help" -> "Edit Custom VM Options ..."
|
||||||
如果提示是否要创建文件,请点"是|Yes"。
|
如果提示是否要创建文件,请点"是|Yes"。
|
||||||
2. 在打开的vmoptions编辑窗口末行添加:"-javaagent:{JetbrainsAgentJarPath}"
|
2. 在打开的vmoptions编辑窗口末行添加:"-javaagent:/absolute/path/to/jetbrains-agent.jar"
|
||||||
最好使用绝对路径。
|
一定要自己确认好路径,填错会导致IDE打不开!!!最好使用绝对路径。
|
||||||
如: -javaagent:$USER_HOME/jetbrains-agent.jar
|
如: -javaagent:/Users/neo/jetbrains-agent.jar
|
||||||
3. 重启你的IDE。
|
3. 重启你的IDE。
|
||||||
4. 注册选择License server方式,地址填入:
|
4. 注册选择License server方式,地址填入:
|
||||||
http://[随意填一个域名,要求共16个字符(不要有:'/', '[', ']')]
|
http://[随意填一个域名(可胡编乱造),要求正好正好正好16个字符(不要有:'/', '[', ']')]
|
||||||
5. 如果提示错误:
|
5. 如果提示错误:
|
||||||
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
|
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
|
||||||
这种情况请试着填上jar文件的绝对路径.
|
这种情况请试着填上jar文件的绝对路径.
|
||||||
|
BIN
address_sample.png
Normal file
BIN
address_sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
javaagent_sample.png
Normal file
BIN
javaagent_sample.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 60 KiB |
Loading…
Reference in New Issue
Block a user