`
deejay
  • 浏览: 142285 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Eclipse出现Failed to create the Java Virtual Machine和The Eclipse executable launch

阅读更多

 

百度了一下,按照网上说法,将配置文件修改如下

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m


将其修改为如下内容,即可启动Eclipse
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx256m

 


=================================华丽的分割线=========================================

 


接着在运行,Eclipse提示:The Eclipse executable launcher was unable to locate its companion shared libray.

继续百度~,没有找到一个很好的方法。

观察了一下配置文件,发现所以然,我又将
-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx256m

修改了一下改为:


-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
128M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
128m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx256m


嗯,现在正常啦,看来还是配置文件的问题。

 

分享到:
评论
1 楼 ggggwffgqeg 2011-11-24  
thanks ...

相关推荐

    最新版JamVM 1.5.2

    JamVM is a new Java Virtual Machine which conforms to the JVM specification version 2 (blue book). In comparison to most other VMs (free and commercial) it is extremely small, with a stripped ...

    The application has failed...(应用程序配置不正确)

    主要介绍了The application has failed...(应用程序配置不正确)的相关资料,这里提供了解决办法,需要的朋友可以参考下

    Eclipse错误解决方法

    当出现提示说: Call requires API level 9 (current min is 8): android.os.StrictMode#setThrea 也就是说版本低

    Java in easy steps: Covers Java 9, 6th Edition - epub格式

    By the end of this book you will have gained a sound understanding of the Java language and be able to write your own Java programs and compile them into executable files that can be run on any Java-...

    解决Could not locate executable null\bin\winutils.exe

    在windows环境下的eclipse或者idea中编写spark应用时,有时为了验证程序功能需要以本地模式运行...java.io.Exception: Could not locate executable null\bin\winutils.exe in the Hadoop binarie 本文件可以解决此异常

    超好用 Arnold 渲染器 License Server

    2. Start the RLM executable to float the solidangle.lic If you already have a RLM server up and running just copy the .lic and .set file to your RLM directory and reread/restart your server. Note: ...

    Beginning Java Game Development with LibGDX

    Design and create video games using Java, with the LibGDX software library. By reading Beginning Java Game Development with LibGDX, you will learn how to design video game programs and how to build ...

    微软内部资料-SQL性能优化2

    For a process to access 3 GB of address space, the executable image must have been linked with the /LARGEADDRESSAWARE flag or modified using Imagecfg.exe. It should be pointed out that SQL Server was ...

    Test-Driven Java Development

    The value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers, the maintainability and performance of code, and develop a ...

    Java反编译软件JAD1

    with JAVA Virtual Machine bytecodes. Jad supports inner and anonymous classes. When Jad expands wildcards in the input file names, it automatically skips matching inner classes. On UNIX Jad skips ...

    Data Structures and Algorithms in Java (2nd Edition)

    In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and ...

    Test-Driven Java Development(PACKT,2015)

    The value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers, the maintainability and performance of code, and develop a ...

    Data Structures And Algorithms In Java 2nd PDF

    In the second edition, the program is rewritten to improve operation and clarify the algorithms, the example programs are revised to work with the latest version of the Java JDK, and questions and ...

    org.eclipse.equinox

    org.eclipse.equinox.executable org.eclipse.equinox.launcher org.eclipse.osgi org.eclipse.osgi.tests 另加几篇分析的文章

    Test-Driven Java Development - Second Edition.pdf

    You'll learn about the Red-Green-Refactor procedure, how to write unit tests, and how to use them as executable documentation.With this book, you'll also discover how to design simple and easily ...

    An In-Depth Look into the Win32 Portable Executable File Format-part 1

    An In-Depth Look into the Win32 Portable Executable File Format-part 1

    Java Test-Driven Development(PACKT,2015)

    The value of performing TDD with Java, one of the most established programming languages, is to improve the productivity of programmers, the maintainability and performance of code, and develop a ...

    java反编译工具jad 1.5.8g(可以反编译jdk1.5,1.6)

    there is an option -a which tells Jad to annotate the output with JAVA Virtual Machine bytecodes. <br>Jad supports the inner and anonymous classes. When Jad expands wildcards in the input ...

    upx1.93 - compress or expand executable files

    UPX is a portable, ... possibly including a reference to the UPX home page. Thanks. [ Using UPX in non-OpenSource applications without proper credits is considered not politically correct ;-) ]

    在Ubuntu中安装VSCode并配置C/C++开发环境的方法步骤

    第一步,打开Ubuntu Software下载VSCode。(so easy) ...然后使用 sudo dpkg -i xxx.deb解压即可 第二步,如果你的电脑中没有gcc,g++,gdb的话,可以通过以下代码获得。 sudo apt-get update //访问源列表,并读取...

Global site tag (gtag.js) - Google Analytics