1
0
mirror of https://gitee.com/pengzhile/jetbrains-agent.git synced 2024-11-18 08:28:52 +00:00

update readme

Signed-off-by: pengzhile <pengzhile@gmail.com>
This commit is contained in:
pengzhile 2018-08-30 11:07:38 +08:00
parent 349aa6949e
commit e005069a98
3 changed files with 15 additions and 13 deletions

View File

@ -3,15 +3,17 @@
======= https://zhile.io =======
====================================================
*** 请先一定仔细阅读本文档可以参考文件夹内javaagent_sample.png和address_sample.png ***
Usage:
0. Download the jetbrains-agent.jar first.
Releases page: https://github.com/pengzhile/jetbrains-agent/releases
1. Click IDE menu "Help" -> "Edit Custom VM Options ..."
2. Append "-javaagent:{JetbrainsAgentJarPath}" to end line.
eg: -javaagent:$USER_HOME/jetbrains-agent.jar
0. Download the zip package and get jetbrains-agent.jar first.
Releases page: https://zhile.io/files/jetbrains-agent-v2018.2.2.zip
1. Click IDE menu "Configure|Help" -> "Edit Custom VM Options ..."
2. Append "-javaagent:/absolute/path/to/jetbrains-agent.jar" to end line.
eg: -javaagent:/Users/neo/jetbrains-agent.jar
3. Restart IDE.
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:
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
Please modify the jar file path to absolute path.
@ -19,16 +21,16 @@
使用方法:
0. 先下载jetbrains-agent.jar把它放到你认为合适的文件夹内。
下载列表地址https://github.com/pengzhile/jetbrains-agent/releases
1. 点击你要注册的IDE菜单"Help" -> "Edit Custom VM Options ..."
0. 先下载压缩包解压后得到jetbrains-agent.jar把它放到你认为合适的文件夹内。
下载列表地址https://zhile.io/files/jetbrains-agent-v2018.2.2.zip
1. 点击你要注册的IDE菜单"Configure|Help" -> "Edit Custom VM Options ..."
如果提示是否要创建文件,请点"是|Yes"。
2. 在打开的vmoptions编辑窗口末行添加"-javaagent:{JetbrainsAgentJarPath}"
最好使用绝对路径。
如: -javaagent:$USER_HOME/jetbrains-agent.jar
2. 在打开的vmoptions编辑窗口末行添加"-javaagent:/absolute/path/to/jetbrains-agent.jar"
一定要自己确认好路径填错会导致IDE打不开最好使用绝对路径。
如: -javaagent:/Users/neo/jetbrains-agent.jar
3. 重启你的IDE。
4. 注册选择License server方式地址填入
http://[随意填一个域名,要求共16个字符不要有:'/', '[', ']']
http://[随意填一个域名(可胡编乱造),要求正好正好正好16个字符不要有:'/', '[', ']']
5. 如果提示错误:
"Error opening zip file or JAR manifest missing : jetbrains-agent.jar"
这种情况请试着填上jar文件的绝对路径.

BIN
address_sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

BIN
javaagent_sample.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB