Java path..Error of jvm.cfg
this should be an internal file of JRE and in general you shouldn't deal with it when you're running/compiling java.
Here you can find an explanation of what exactly this file is intended for.
Bottom line, your Java installation is somehow corrupted, so as a first resort to resolve this issue, I suggest you to re-install jre.
You should ensure that you're installing the right jre for your architecture.
Hope, this helps
Eclipse Java Virtual Machine Launcher jvm.cfg Error
It sounds like your Eclipse is looking for an older JRE. Look in the Eclipse Preferences 'Window > Preferences > Java > Installed JREs' and update it to use the path for the update 66 JRE/JDK.
Running Java gives Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'
Might be a slightly different cause, but that second issue occurs for me in scala 2.9.0.1 on Win7 (x64), though scala-2.9.1.final has already resolved this issue mentioned here:
\Java\jdk1.6.0_25\bin\java.exe was unexpected at this time.
My %JAVA_HOME%
set to a path like this: c:\program files
(x86)\Java\jdk...
Note the space and the parentheses.
If you change line 24 in %SCALA_HOME%\bin\scala.bat
from:
if exist "%JAVA_HOME%\bin\java.exe" set _JAVACMD=%JAVA_HOME%\bin\java.exe
to
if exist "%JAVA_HOME%\bin\java.exe" set "_JAVACMD=%JAVA_HOME%\bin\java.exe"
It works fine. Note the quotes around the set command parameters, this will properly enclose any spaces and 'special' characters (eg: spaces and parentheses) in the variable's value.
Hope this helps someone else searching for an answer.
Error with the java command (jvm.cfg)
The answer is to uninstall Java and reinstall it.
Unable to start Eclipse -- can't open \Java\jre6\lib\i386\jvm.cfg
I also had this problem and was having trouble finding a solution, but now I did!
If you uninstall your current running jre version and then install higher one you are good to go.
I was using jre1.6 when I had this problem but after installing 1.7 it was solved!
Related Topics
Efficient Intersection of Two List<String> in Java
Initializing an Array in Java Using the 'Advanced' for Each Loop
How to Log Spring 5 Webclient Call
How Is Driver Class Located in Jdbc4
Hibernate: "Field 'Id' Doesn't Have a Default Value"
Best Language to Parse Extremely Large Excel 2007 Files
How to Insert an Pdpage Within Another Pdpage with PDFbox
How to Dynamically Build a Multi-Dimensional Array in Java
Tablecellrenderer and How to Refresh Cell Background Without Using Jtable.Repaint()
Command Line Progress Bar in Java
Java: Rationale of the Cloneable Interface
Websphere All Logs Are Going to Systemout.Log
Method Calls Inside a Java Class Return an "Identifier Expected After This Token" Error
Files.Walk(), Calculate Total Size