Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持windows下运行 #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

支持windows下运行 #73

wants to merge 1 commit into from

Conversation

qxo
Copy link
Contributor

@qxo qxo commented Jan 30, 2020

要求在windows系统上有linux子系统: 可以通过安装git+环境变量来添加linux子系统
ie:

  1. 下载git: https://git-scm.com/download/win
  2. 增加环境变理GIT_HOME=...
  3. 然后PATH环境变量中添加如下值即可
    %GIT_HOME%\bin;%GIT_HOME%\usr\bin;%GIT_HOME%\cmd;%GIT_HOME%\mingw64\bin

cmd后sh进入linux子系统, 在启用bistoury之前要求设置环境变量如

export JAVA_HOME=/D/JDK/jdk1.8.0X64
export LOCAL_IP=127.0.0.1
export BISTOURY_TMP_DIR=J:/tmp/bistoury
export BISTOURY_STORE_DIR=/J/tmp/bistoury

这些变量值请视情况修改

启用bistoury命令如下,注意修改$PID为要监牢java应用对应的PID, $APP_CLASS修改为应用中一个类全名,用来定位classpath

./quick_start.sh -p  $PID -c "$APP_CLASS"  start

要求在windows系统上有linux子系统: 可以通过安装git+环境变量来添加linux子系统
ie:
1. 下载git: https://git-scm.com/download/win
2. 增加环境变理GIT_HOME=...
3. 然后PATH环境变量中添加如下值即可
%GIT_HOME%\bin;%GIT_HOME%\usr\bin;%GIT_HOME%\cmd;%GIT_HOME%\mingw64\bin

cmd后sh进入linux子系统, 在启用bistoury之前要求设置环境变量如
```
export JAVA_HOME=/D/JDK/jdk1.8.0X64
export LOCAL_IP=127.0.0.1
export BISTOURY_TMP_DIR=J:/tmp/bistoury
export BISTOURY_STORE_DIR=/J/tmp/bistoury
```
这些变量值请视情况修改

启用bistoury命令如下,注意修改$PID为要监牢java应用对应的PID, $APP_CLASS修改为应用中一个类全名,用来定位classpath
```
./quick_start.sh -p  $PID -c "$APP_CLASS"  start
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant