macOS 解决 ApacheDirectoryStudio 无法启动问题

macOS About 1,203 words

解决方法

ApacheDirectoryStudio.ini配置文件中添加JVM路径即可。

说明

当前2.0.0.v20210717-M17版本只有amd64的,如果M1芯片的macOS需要下载amd64JDK,否则无法执行。

添加配置

文件位置:

/Applications/ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini

注意换行:

-vm
/Users/fendoudebb/jdk/jdk-11.0.18.jdk-x86_64/bin

完整配置

-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.2.0.v20200915-1442
/studio-rcp/resources/icons/linux/studio.xpm
###
#Uncomment_to_configure_the_language
#https://directory.apache.org/studio/faqs.html#how-to-set-the-language-of-studio
#-nl
#en
###
#Uncomment_to_configure_Java_version_to_use
#https://directory.apache.org/studio/faqs.html#how-to-set-the-java-vm-to-use
-vmargs
-Dosgi.requiredJavaVersion=11
###
#Uncomment_to_configure_heap_memory
#https://directory.apache.org/studio/faqs.html#how-to-increase-the-heap-memory
#-Xms1g
#-Xmx2g
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-vm
/Users/fendoudebb/jdk/jdk-11.0.18.jdk-x86_64/bin

下载地址

https://directory.apache.org/studio/downloads.html

清华大学镜像地址

https://mirrors.tuna.tsinghua.edu.cn/apache/directory/studio/2.0.0.v20210717-M17

Views: 1,220 · Posted: 2023-05-11

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh