简体   繁体   English

如何在Mac上还原Java

[英]How can I restore Java on my mac

I had aptana and xampp on my mac, and when tried to download eclipse, it required me to download, as I recall, jdk 7.0... I ran a shell command that I found online, and after I did, Eclipse worked, but Aptana and xampp's MySQL database both stopped working... I tried to download jre 1.8, tried this link ( https://support.apple.com/en-us/HT202643 ) to restore mac's original java jre and tried to redownload aptana but all did not solve the issue. 我在Mac上安装了aptana和xampp,当尝试下载eclipse时,它要求我下载jdk 7.0,就像我回想的那样。我运行了一个在线找到的shell命令,这样做之后,Eclipse正常了,但是Aptana和xampp的MySQL数据库都停止工作...我尝试下载jre 1.8,尝试了此链接( https://support.apple.com/zh-cn/HT202643 )以恢复mac的原始Java jre,并尝试重新下载aptana,但所有人都没有解决问题。

This is the message am getting from Aptana: The JVM shared library "/Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib" does not contain the JNI_CreateJavaVM symbol. 这是从Aptana获得的消息:JVM共享库“ /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/bin/../jre/lib/server/libjvm.dylib”不包含JNI_CreateJavaVM符号。

Help is appreciated! 感谢帮助!

Found solution, just download this: https://support.apple.com/kb/DL1572?viewlocale=en_US&locale=en_US 找到解决方案,只需下载以下内容: https : //support.apple.com/kb/DL1572?viewlocale=zh_CN&locale=zh_CN

as for xampp, I copied/back-uped everything in htdocs and reinstalled it... now mysql works but apache web server does not :( 至于xampp,我复制/备份了htdocs中的所有内容并重新安装了它……现在mysql可以工作了,但是apache网络服务器却没有:(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM