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

RestComm Media Server 7.0.0-32(github-releases)-window 运行run.bat错误(无法加载主类) #739

Open
pzyang613 opened this issue Dec 15, 2017 · 0 comments

Comments

@pzyang613
Copy link

在windows上运行:restcomm-media-server-7.0.0-32\bin\run.bat
结果如下所示:
MMS Bootstrap Environment

MMS_HOME: C:\Users\pzyan\Desktop\restcomm-media-server-7.0.0-32-old\restcomm-media-server-7.0.0-32

JAVA: C:\Program Files\Java\jdk1.8.0_151\bin\java

JAVA_OPTS: -Dprogram.name=run.bat -server -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

CLASSPATH: C:\Program Files\Java\jdk1.8.0_151\lib\tools.jar;C:\Users\pzyan\Desktop\restcomm-media-server-7.0.0-32-old\restcomm-media-server-7.0.0-32\bin\run.jar
ECHO 处于关闭状态。
MMS_ENDORSED_DIRS: C:\Users\pzyan\Desktop\restcomm-media-server-7.0.0-32-old\restcomm-media-server-7.0.0-32\lib

===============================================================================

错误: 找不到或无法加载主类 org.mobicents.media.server.bootstrap.Main
请按任意键继续. . .

应该改为:org.restcomm.media.bootstrap.Main,如下所示:
"%JAVA%" %JAVA_OPTS% -Djava.ext.dirs="%MMS_ENDORSED_DIRS%" -Dmbrola.base="%MMS_HOME%/mbrola" -classpath "%MMS_CLASSPATH%" org.restcomm.media.bootstrap.Main %*

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

No branches or pull requests

1 participant