在运行macOS 10.16Big Sur的MacbookPro中安装Eclipse是否有解决方法

如何解决在运行macOS 10.16Big Sur的MacbookPro中安装Eclipse是否有解决方法

我正在研究Spring和Hibernate,并且我正在使用的IDE是Eclipse(在使用IntelliJ多年之后),但事实是,每次我尝试使用安装程序安装Eclipse ether或只是下载Eclipse JEE时,出现安装错误,无法继续前进。

这是错误的堆栈跟踪。 PS:我一直在调查,找不到任何相关内容。

    /* -------------------------------------------------------------------------- */
    
    Process:               eclipse-inst [4686]
    Path:                  /Volumes/VOLUME/Eclipse Installer.app/Contents/MacOS/eclipse-inst
    Identifier:            org.eclipse.oomph.setup.installer.product
    Version:               1.17.0 (1.17.0.v20200610-0514)
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           eclipse-inst [4686]
    User ID:               501
    
    Date/Time:             2020-08-14 08:06:40.452 -0400
    OS Version:            Mac OS X 10.16 (20A5343j)
    Report Version:        12
    Bridge OS Version:     5.0 (18P50347c)
    Anonymous UUID:        4148D75A-3E08-F11D-ECE7-4B3A70E9672E
    
    Sleep/Wake UUID:       912A59C5-0BFE-4085-94F6-2AB8CB24A2AF
    
    Time Awake Since Boot: 14000 seconds
    Time Since Wake:       1000 seconds
    
    System Integrity Protection: enabled
    
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    
    Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
    Exception Codes:       0x0000000000000001,0x0000000000000000
    Exception Note:        EXC_CORPSE_NOTIFY
    
    Termination Signal:    Illegal instruction: 4
    Termination Reason:    Namespace SIGNAL,Code 0x4
    Terminating Process:   exc handler [4686]
    
    Application Specific Information:
    *** CFRelease() called with NULL ***
    
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation        0x00007fff297f593e CFRelease.cold.1 + 14
    1   com.apple.CoreFoundation        0x00007fff2965110f CFRelease + 108
    2   com.apple.JavaVM                0x00007fff2e436c61 MakeMatcher + 406
    3   com.apple.JavaVM                0x00007fff2e435804 CreateJVMDetector + 38
    4   com.apple.JavaVM                0x00007fff2e4375eb CheckForInstalledJavaRuntimes + 43
    5   dyld                            0x0000000015bcbebd ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 559
    6   dyld                            0x0000000015bcc2b8 ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
    7   dyld                            0x0000000015bc6e78 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&,unsigned int,char const*,ImageLoader::InitializerTimingList&,ImageLoader::UninitedUpwards&) + 492
    8   dyld                            0x0000000015bc4d90 ImageLoader::processInitializers(ImageLoader::LinkContext const&,ImageLoader::UninitedUpwards&) + 188
    9   dyld                            0x0000000015bc4e30 ImageLoader::runInitializers(ImageLoader::LinkContext const&,ImageLoader::InitializerTimingList&) + 82
    10  dyld                            0x0000000015bb6261 dyld::runInitializers(ImageLoader*) + 82
    11  dyld                            0x0000000015bc0769 dlopen_internal + 609
    12  libdyld.dylib                   0x00007fff6aa3826f dlopen_internal(char const*,int,void*) + 177
    13  libdyld.dylib                   0x00007fff6aa2690e dlopen + 28
    14  com.apple.CoreFoundation        0x00007fff296ed352 _CFBundleDlfcnLoadBundle + 147
    15  com.apple.CoreFoundation        0x00007fff29765ada _CFBundleLoadExecutableAndReturnError + 503
    16  com.apple.CoreFoundation        0x00007fff2972db6e CFBundleGetFunctionPointerForName + 39
    17  eclipse_1902.so                 0x000000000df7a62e findSymbol + 62
    18  eclipse_1902.so                 0x000000000df78679 startJavaJNI + 89
    19  eclipse_1902.so                 0x000000000df74f44 _run + 5732
    20  eclipse_1902.so                 0x000000000df734c0 run + 432
    21  org.eclipse.oomph.setup.installer.product   0x000000000de689f7 original_main + 1319
    22  org.eclipse.oomph.setup.installer.product   0x000000000de693a7 main + 1655
    23  libdyld.dylib                   0x00007fff6aa36851 start + 1
    
    Thread 1:
    0   libsystem_pthread.dylib         0x00007fff6ac6e4b4 start_wqthread + 0
    
    Thread 2:
    0   libsystem_pthread.dylib         0x00007fff6ac6e4b4 start_wqthread + 0
    
    Thread 3:
    0   libsystem_pthread.dylib         0x00007fff6ac6e4b4 start_wqthread + 0
    
    Thread 4:
    0   libsystem_pthread.dylib         0x00007fff6ac6e4b4 start_wqthread + 0
    
    Thread 0 crashed with X86 Thread State (64-bit):
      rax: 0x00007fff29a06bc2  rbx: 0x0000000000000000  rcx: 0x0000000000000055  rdx: 0x0000000000000000
      rdi: 0x0000000000000000  rsi: 0x00007ffee1d957f8  rbp: 0x00007ffee1d957d0  rsp: 0x00007ffee1d957c8
       r8: 0x00000000000000a9   r9: 0x00000000000007fb  r10: 0x0000000000002520  r11: 0x0000000000000060
      r12: 0x0000000000000000  r13: 0x00006000026c8410  r14: 0x00006000039c8000  r15: 0x00006000008e9b40
      rip: 0x00007fff297f593e  rfl: 0x0000000000010246  cr2: 0x00006000013fa008
      
    Logical CPU:     0
    Error Code:      0x00000000
    Trap Number:     6

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 18440
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=657.9M resident=0K(0%) swapped_out_or_unallocated=657.9M(100%)
Writable regions: Total=620.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=620.9M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
CoreServices                       172K        1 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           226.2M       31 
MALLOC guard page                   16K        4 
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.0M        5 
Stack                             10.0M        5 
VM_ALLOCATE                        732K       12 
__DATA                            23.2M      280 
__DATA_CONST                        32K        1 
__FONT_DATA                          4K        1 
__LINKEDIT                       471.7M        7 
__OBJC_RO                         36.5M        1 
__OBJC_RW                         2483K        2 
__TEXT                           186.3M      279 
__UNICODE                          588K        1 
mapped file                       49.5M        8 
shared memory                       40K        4 
===========                     =======  ======= 
TOTAL                              1.4G      646 
TOTAL,minus reserved VM space     1.0G      646 

解决方法

环境:运行macOS BigSur(10.16)和Java版本“ 14.0.1” 2020-04-14。

步骤:转到“应用程序”文件夹->右键单击Eclipse / STS4->单击“显示包内容”->单击“内容”->打开info.plist->粘贴此代码以替换标签在文件中。

<array>
    <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,or add a VM found via $/usr/libexec/java_home -V -->
    <string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk-14.0.1.jdk/Contents/Home/bin/java</string>        
    <string>-keyring</string>
    <string>~/.eclipse_keyring</string>         
</array>
,

OS Catalina版本的STS4在OX BIGSUR上不起作用。
尝试spring-tool-suite-4-4.9.0.CI-B173-e4.18.0-macosx.cocoa.x86_64.dmg,可以从http://dist.springsource.com/snapshot/STS4/nightly-distributions.html下载吗?

我的解决方案

步骤1:使用o更新的Java SDK版本“ 1.8.0_271”
步骤2:从spring-tool-suite-4-4.9.0.CI-B173-e4.18.0-macosx.cocoa.x86_64.dmg中下载安装STS **
步骤3:验证您的Shell(STS4在zsh版本中不起作用)可能是/ bin / bash /,请按照步骤https://support.apple.com/es-us/HT208050
步骤4:感谢您关注https://www.facebook.com/gestiondigitaladministrativa

**链接http://dist.springsource.com/snapshot/STS4/nightly-distributions.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 &lt;select id=&quot;xxx&quot;&gt; SELECT di.id, di.name, di.work_type, di.updated... &lt;where&gt; &lt;if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 &lt;property name=&quot;dynamic.classpath&quot; value=&quot;tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams[&#39;font.sans-serif&#39;] = [&#39;SimHei&#39;] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -&gt; systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping(&quot;/hires&quot;) public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate&lt;String
使用vite构建项目报错 C:\Users\ychen\work&gt;npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-