哪些大虾能帮我解决win10下面安装eclipse的问题

tuyiwenya 2020-07-03 11:51:26
我使用的操作系统是WIN10,安装的是JDK14.0.1与Eclipse-jee2020-6,但是每次运行的时候就是闪退,我在eclipse.ini当中加了

-vm

C:\Program Files\Java\jdk-14.0.1\bin\javaw.exe

但是运行报了如下错误


希望得到大家的帮助!
...全文
3702 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
八爻老骥 2020-07-04
  • 打赏
  • 举报
回复
安装版是把环境变量写在注册表里的,直接启动可能因为安全设置,elipse读不到,所以最好的方式就是配环境变量或在配置文件里手动指定jvm。
tuyiwenya 2020-07-04
  • 打赏
  • 举报
回复
能更具体一点吗?
阿萨德由 2020-07-03
  • 打赏
  • 举报
回复
1、确认jdk安装,jdk环境变量配置成功,cmd下测试下 2、试着降低jdk的版本 , 版本不匹配 3、。。。
tuyiwenya 2020-07-03
  • 打赏
  • 举报
回复
如果我把
-vm
C:\Program Files\Java\jdk-14.0.1\bin\javaw.exe
这句删除的话,就会报以下的错误。
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000180008b37, pid=20388, tid=19572
#
# JRE version: Java(TM) SE Runtime Environment (14.0.1+7) (build 14.0.1+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (14.0.1+7, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# C [NSKern32.dll+0x8b37]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- S U M M A R Y ------------

Command Line: -Dosgi.requiredJavaVersion=1.8 -Dosgi.instance.area.default=@user.home/eclipse-workspace -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Dosgi.requiredJavaVersion=1.8 -Dosgi.dataAreaRequiresExplicitInit=true -Xms256m -Xmx2048m --add-modules=ALL-SYSTEM

Host: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz, 8 cores, 7G, Windows 10 , 64 bit Build 18362 (10.0.18362.900)
Time: Fri Jul 3 19:51:47 2020 ?D1ú±ê×?ê±?? elapsed time: 10 seconds (0d 0h 0m 10s)

--------------- T H R E A D ---------------

Current thread (0x00000000271cb000): JavaThread "Worker-4: Loading available Gradle versions" [_thread_in_native, id=19572, stack(0x0000000037810000,0x0000000037910000)]

Stack: [0x0000000037810000,0x0000000037910000], sp=0x000000003790dee0, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [NSKern32.dll+0x8b37]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.nio.ch.Net.connect0(ZLjava/io/FileDescriptor;Ljava/net/InetAddress;I)I+0 java.base@14.0.1
j sun.nio.ch.Net.connect(Ljava/net/ProtocolFamily;Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I+37 java.base@14.0.1
j sun.nio.ch.Net.connect(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)I+6 java.base@14.0.1
j sun.nio.ch.NioSocketImpl.connect(Ljava/net/SocketAddress;I)V+107 java.base@14.0.1
j java.net.SocksSocketImpl.connect(Ljava/net/SocketAddress;I)V+411 java.base@14.0.1
j java.net.Socket.connect(Ljava/net/SocketAddress;I)V+165 java.base@14.0.1
j sun.security.ssl.SSLSocketImpl.connect(Ljava/net/SocketAddress;I)V+37 java.base@14.0.1
j sun.net.NetworkClient.doConnect(Ljava/lang/String;I)Ljava/net/Socket;+99 java.base@14.0.1
j sun.net.www.http.HttpClient.openServer(Ljava/lang/String;I)V+4 java.base@14.0.1
j sun.net.www.http.HttpClient.openServer()V+114 java.base@14.0.1
j sun.net.www.protocol.https.HttpsClient.<init>(Ljavax/net/ssl/SSLSocketFactory;Ljava/net/URL;Ljava/net/Proxy;I)V+122 java.base@14.0.1
j sun.net.www.protocol.https.HttpsClient.New(Ljavax/net/ssl/SSLSocketFactory;Ljava/net/URL;Ljavax/net/ssl/HostnameVerifier;Ljava/net/Proxy;ZILsun/net/www/protocol/http/HttpURLConnection;)Lsun/net/www/http/HttpClient;+397 java.base@14.0.1
j sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Ljava/net/URL;Ljava/net/Proxy;I)Lsun/net/www/http/HttpClient;+13 java.base@14.0.1
j sun.net.www.protocol.http.HttpURLConnection.plainConnect0()V+380 java.base@14.0.1
j sun.net.www.protocol.http.HttpURLConnection.plainConnect()V+71 java.base@14.0.1
j sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect()V+9 java.base@14.0.1
j sun.net.www.protocol.http.HttpURLConnection.getInputStream0()Ljava/io/InputStream;+195 java.base@14.0.1
j sun.net.www.protocol.http.HttpURLConnection.getInputStream()Ljava/io/InputStream;+52 java.base@14.0.1
j sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream()Ljava/io/InputStream;+4 java.base@14.0.1
j org.eclipse.buildship.core.internal.util.gradle.PublishedGradleVersions.downloadVersionInformation()Ljava/lang/String;+37
j org.eclipse.buildship.core.internal.util.gradle.PublishedGradleVersions.tryToDownloadAndCacheVersions(Ljava/io/File;Lorg/eclipse/buildship/core/internal/util/gradle/PublishedGradleVersions$LookupStrategy;)Lorg/eclipse/buildship/core/internal/util/gradle/PublishedGradleVersions;+17
j org.eclipse.buildship.core.internal.util.gradle.PublishedGradleVersions.create(Lorg/eclipse/buildship/core/internal/util/gradle/PublishedGradleVersions$LookupStrategy;)Lorg/eclipse/buildship/core/internal/util/gradle/PublishedGradleVersions;+56
j org.eclipse.buildship.core.internal.util.gradle.PublishedGradleVersionsWrapper$LoadVersionsJob.run(Lorg/eclipse/core/runtime/IProgressMonitor;)Lorg/eclipse/core/runtime/IStatus;+3
j org.eclipse.core.internal.jobs.Worker.run()V+33
v ~StubRoutines::call_stub

siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000004


Register to memory mapping:

RIP=0x0000000180008b37 NSKern32.dll
RAX=0x0 is NULL
RBX=0x0 is NULL
RCX=0x00007ffb577fc474 ntdll.dll
RDX=0x0 is NULL
RSP=0x000000003790dee0 is pointing into the stack for thread: 0x00000000271cb000
RBP=0x000000000000001c is an unknown value
RSI=0x0 is NULL
RDI=0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
R8 =0x000000003790de38 is pointing into the stack for thread: 0x00000000271cb000
R9 =0x000000000000001c is an unknown value
R10=0x0 is NULL
R11=0x0000000000000246 is an unknown value
R12=0x000000003790e448 is pointing into the stack for thread: 0x00000000271cb000
R13=0x0000000000000e54 is an unknown value
R14=0x0 is NULL
R15=0x0 is NULL


Registers:
RAX=0x0000000000000000, RBX=0x0000000000000000, RCX=0x00007ffb577fc474, RDX=0x0000000000000000
RSP=0x000000003790dee0, RBP=0x000000000000001c, RSI=0x0000000000000000, RDI=0x000000003790e498
R8 =0x000000003790de38, R9 =0x000000000000001c, R10=0x0000000000000000, R11=0x0000000000000246
R12=0x000000003790e448, R13=0x0000000000000e54, R14=0x0000000000000000, R15=0x0000000000000000
RIP=0x0000000180008b37, EFLAGS=0x0000000000010246

Top of Stack: (sp=0x000000003790dee0)
0x000000003790dee0: 000000003790e498 000000000000001c
0x000000003790def0: 0000000000000000 000000003790e498
0x000000003790df00: ffffffffffffffff 00000030ffffffff
0x000000003790df10: 000000002a703f00 00007ffafccf7a08
0x000000003790df20: 0000000000000000 00007ffb5779c43f
0x000000003790df30: 0000000000000000 0000000000000000
0x000000003790df40: 7d656372756f737b 6e6e6f4350535720
0x000000003790df50: ffffff000a746365 00000030ffffffff
0x000000003790df60: 000000002a703f00 00007ffafccf7a08
0x000000003790df70: 0000000000000000 00007ffb5779c43f
0x000000003790df80: 000000003790e060 00007ffafc863636
0x000000003790df90: 00007ffafccf7a08 00007ffafc895787
0x000000003790dfa0: 000000003790e3e0 00000000014b3235
0x000000003790dfb0: 000000003790e578 000000003790e2c0
0x000000003790dfc0: 0000000000000004 ffffffffffffffff
0x000000003790dfd0: ffffffffffffffff 00000030ffffffff

Instructions: (pc=0x0000000180008b37)
0x0000000180008a37: 41 55 41 56 41 57 48 81 ec 78 04 00 00 48 8b 05
0x0000000180008a47: c5 69 01 00 48 33 c4 48 89 84 24 60 04 00 00 48
0x0000000180008a57: 8b 9c 24 e8 04 00 00 48 8b b4 24 f0 04 00 00 4c
0x0000000180008a67: 8b bc 24 e0 04 00 00 4c 8b a4 24 f8 04 00 00 4d
0x0000000180008a77: 8b f1 41 8b e8 48 8b fa 4c 8b e9 4c 8d 0d bf 15
0x0000000180008a87: 01 00 4c 8d 05 44 15 01 00 48 8d 15 31 15 01 00
0x0000000180008a97: 48 8d 4c 24 60 48 89 5c 24 50 48 89 74 24 58 e8
0x0000000180008aa7: 61 43 00 00 48 8d 4c 24 60 ff 15 5a 06 01 00 48
0x0000000180008ab7: 85 ff 0f 84 17 01 00 00 85 ed 0f 84 0f 01 00 00
0x0000000180008ac7: 0f b7 07 48 8b 5c 24 50 66 83 f8 02 75 05 48 8b
0x0000000180008ad7: f7 eb 0d 48 8b 74 24 50 66 83 f8 17 48 0f 44 df
0x0000000180008ae7: e8 82 2a 00 00 39 05 be 80 01 00 75 0b 8b 0d 06
0x0000000180008af7: 65 01 00 e9 aa 00 00 00 0f b7 07 66 83 f8 02 75
0x0000000180008b07: 10 0f b7 56 02 8b 4e 04 e8 6c 2a 00 00 8b d8 eb
0x0000000180008b17: 1b 66 83 f8 17 75 11 0f b7 53 02 48 8d 4b 08 e8
0x0000000180008b27: 4f 2a 00 00 8b d8 eb 04 8b 5c 24 58 85 db 75 0a
0x0000000180008b37: 8b 4e 04 e8 35 2a 00 00 8b d8 8b 0d b9 64 01 00
0x0000000180008b47: 83 f9 ff 74 0d 48 8b 15 6d 80 01 00 ff 15 af 05
0x0000000180008b57: 01 00 48 8b 05 60 80 01 00 44 8b cd 4c 8b c7 49
0x0000000180008b67: 8b d5 8b cb 4c 89 64 24 28 48 89 44 24 20 e8 96
0x0000000180008b77: d3 ff ff 8b 0d 80 64 01 00 8b d8 83 f9 ff 74 0e
0x0000000180008b87: 33 d2 ff 15 79 05 01 00 8b 0d 6b 64 01 00 83 fb
0x0000000180008b97: ff 0f 85 93 00 00 00 41 83 3c 24 00 0f 85 88 00
0x0000000180008ba7: 00 00 83 f9 ff 74 0d 48 8b 15 0b 80 01 00 ff 15
0x0000000180008bb7: 4d 05 01 00 48 8b 44 24 58 4c 89 64 24 40 48 89
0x0000000180008bc7: 44 24 38 48 8b 44 24 50 48 89 44 24 30 eb 27 8b
0x0000000180008bd7: 0d 24 64 01 00 83 f9 ff 74 0d 48 8b 15 d8 7f 01
0x0000000180008be7: 00 ff 15 1a 05 01 00 4c 89 64 24 40 48 89 74 24
0x0000000180008bf7: 38 48 89 5c 24 30 48 8b 0d bc 7f 01 00 44 8b cd
0x0000000180008c07: 4c 8b c7 49 8b d5 4c 89 7c 24 28 4c 89 74 24 20
0x0000000180008c17: e8 24 96 ff ff 8b 0d de 63 01 00 8b d8 83 f9 ff
0x0000000180008c27: 74 0a 33 d2 ff 15 d7 04 01 00 8b c3 48 8b 8c 24


Stack slot to memory mapping:
stack at sp + 0 slots: 0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
stack at sp + 1 slots: 0x000000000000001c is an unknown value
stack at sp + 2 slots: 0x0 is NULL
stack at sp + 3 slots: 0x000000003790e498 is pointing into the stack for thread: 0x00000000271cb000
stack at sp + 4 slots: 0xffffffffffffffff is an unknown value
stack at sp + 5 slots: 0x00000030ffffffff is an unknown value
stack at sp + 6 slots: 0x000000002a703f00 points into unknown readable memory: 04 00 00 00 00 00 00 00
stack at sp + 7 slots: 0x00007ffafccf7a08 jvm.dll


--------------- P R O C E S S ---------------

Threads class SMR info:
_java_thread_list=0x0000000030568970, length=35, elements={
0x00000000014de000, 0x0000000023aa6000, 0x00
tuyiwenya 2020-07-03
  • 打赏
  • 举报
回复
我安装的eclipse就是压缩版,不是安装版!我是直接在www.eclipse.org官网上下载的!
tuyiwenya 2020-07-03
  • 打赏
  • 举报
回复
jre还需要配置吗?
qq_39936465 2020-07-03
  • 打赏
  • 举报
回复
不好意思看错了,bin下有javaw文件。
qq_39936465 2020-07-03
  • 打赏
  • 举报
回复
引用 楼主 tuyiwenya 的回复:
我使用的操作系统是WIN10,安装的是JDK14.0.1与Eclipse-jee2020-6,但是每次运行的时候就是闪退,我在eclipse.ini当中加了 -vm C:\Program Files\Java\jdk-14.0.1\bin\javaw.exe 但是运行报了如下错误 希望得到大家的帮助!
eclipse安装文件需要的是jre不是jdk,先确定jre配置正确。 jdk-14.0.1的bin文件夹下是没有javaw.exe的
tianfang 2020-07-03
  • 打赏
  • 举报
回复
不要用安装版 用压缩版,网络不好,国内使用安装版毛病多多。 从国内镜像下载,非常快速 http://mirrors.neusoft.edu.cn/eclipse/technology/epp/downloads/release/2020-06/ java目前的长期支持版本是8 和 11,安装个11做为主java环境吧 。
tuyiwenya 2020-07-03
  • 打赏
  • 举报
回复
在cmd下已经测试成功安装了JDK

67,512

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧