`
seele
  • 浏览: 11934 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

Could not create the java virtual machine

阅读更多

原先的eclipse设置的内存太小,编译大的网站JSP或者JAVA文件,速度就很慢,就修改配置文件eclipse.ini

-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
-Xms512m
-Xmx1124m

但是启动会提示Could not create the java virtual machine

原因是没有指定使用的JDK...

解决办法:点eclipse.exe创建一个桌面快捷方式,在目标中增加-VM参数
D:\eclipse\eclipse.exe  -vm "C:\Program Files\Java\jdk1.6.0_21\bin\javaw"
分享到:
评论

相关推荐

    could not create the java virtual machine 解决办法

    ### "could not create the java virtual machine" 解决办法 在开发过程中,我们经常会遇到 “could not create the java virtual machine” 这样的错误提示。这个问题通常出现在启动基于Java的应用程序时,比如...

    eclipse_failed_to_create_the_java_virtual_machine_问题图文解析_收藏

    "Eclipse Failed to Create the Java Virtual Machine 问题图文解析" Eclipse 是一个功能强大的集成开发环境(IDE),广泛应用于软件开发、测试和维护中。然而,在使用 Eclipse 时,可能会遇到 "Failed to create ...

    Eclipse运行时提示failed to create the java virtual machine

    ### Eclipse 运行时提示 "failed to create the java virtual machine" 的解决方法 在使用 Eclipse 进行 Java 开发的过程中,有时会遇到一个常见的错误提示:“failed to create the java virtual machine”。这一...

    MemoryAnalyzer-1.9.1.20190826-win32.win32.x86_64_.zip

    假如你机器的内存不大,改大该参数的值,会导致MemoryAnalyzer启动时,报错:Failed to create the Java Virtual Machine。 2.当你导出的dump文件的大小大于你配置的1024m(说明1中,提到的配置:-vmargs– Xmx1024m...

    解决Eclipse启动出错:Failed to create the Java Virtual Machine

    解决Eclipse启动出错:Failed to create the Java Virtual Machine Eclipse是一款功能强大的集成开发环境(IDE),广泛应用于Java、Python、C++等语言的开发中。但是在使用Eclipse时,用户可能会遇到各种错误,例如...

    java-virtual-machine-neutral

    ### Java性能优化关键知识点 #### 一、Java性能调优概览 在现代软件开发中,Java作为一种广泛使用的编程语言,其性能优化是确保应用程序高效运行的关键。性能调优不仅涉及代码层面的优化,还包括对Java虚拟机(JVM)...

    Javanew_historys.zip

    标题 "Javanew_historys.zip" 提供的信息表明,这个压缩包可能包含了与Java虚拟机(JVM)相关的错误解决方案,特别是"could not create the java virtual machine" 这个问题。这个问题通常发生在尝试运行Java应用...

    navhome.htm

    could not create the java virtual machine 解决办法

    精简jre步骤 迷你jre制作过程

    6. 再次运行 java –version命令,提示:Could not create the Java virtual machine.错误 7. 根据测试:还要将hpi.dll和zip.dll放到bin目录中 8. 再次运行java –version命令,OK,又出现了版本信息。此时,可以将...

    kettle的初学

    2. 启动错误:“ERROR:could not create the java virtual machine!”:这可能是因为Java虚拟机内存配置不当。在`spoon.bat`中调整`PENTAHO_DI_JAVA_OPTIONS`,降低初始和最大内存分配,例如将其改为`-Xms512m` `-...

    hadoop配置运行错误

    问题描述:在hadoop安装目录/bin/hadoop中有一段shell代码导致Hadoop启动datanode时出现Unrecognized option: -jvm和Could not create the Java virtual machine错误。 解决方法: 1. 修改hadoop安装目录/bin/...

    WIN7安装gradle环境

    Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. ``` * **调整内存设置** 检查`gradle.properties`文件中的`org.gradle.jvmargs`参数,确保它...

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

    By leveraging the Address Windowing Extensions API, an application can create a fixed-size window into the additional physical memory. This allows a process to access any portion of the physical ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    For example, if your header file uses the File class in ways that do not require access to the declaration of the File class, your header file can just forward declare class File; instead of having ...

    MS.Azure.Planning.Deploying.and.Managing.Your.Data.Center.in.the.Clou

    In the book’s final chapters, you’ll find cutting edge examples of cloud technology in action, from machine learning to business intelligence, for a taste of some exciting ways your business could ...

    System Hardware Information Finder

    Before making this call, it is necessary to create the handle to registry key which needs to be queried. For this make use of RegCreateKeyEx API call. This is how the code looks like in the included ...

    BobBuilder_app

    I decided against using SortedDictionary for the pages as it was slower than a normal Dictionary and for the purpose of a key value store the sorted-ness was not need and could be handled in other ...

    Docker-in-Action.pdf

    couple different Java images, and then Python images. Then my mind flashed back to that terrible day with Graphite. I popped over to the Docker Index (this was before Docker Hub) and did a quick ...

    8-07-14_MegaCLI for linux_windows

    LSIP200232922 (DFCT) MegaCLI misspell the word "package" as "pakage" under ctrl version and it does not displays firmware version LSIP200232921 (DFCT) MegaCLI displays version for PD in unclear ...

    Bochs - The cross platform IA-32 (x86) emulator

    - ported the read-only part of Qemu's 'virtual VFAT' block driver - additions: configurable disk geometry, FAT32 support, read MBR and/or boot sector from file, volatile write support using hdimage...

Global site tag (gtag.js) - Google Analytics