DebugAH

How to Solve Your Programmer Error

Skip to content
  • Home
  • Linux
  • JAVA
  • Python
  • Javasript
  • MYSQL
  • Windows
  • Error

[Solved] java virtual machine launcher could not find the main class. program will exit

Today eclipse runs a simple main method with errors;

Pop up Java virtual machine launcher could not find the main class. Program will

 

Solution: first delete the JRE in the system, and then add the JRE

Similar Posts:

  • Solve the error reported by eclipse project: unbound classpath container
  • [Solved] Eclipse Startup Error: Cannot load 64-bit SWT libraries on 32-
  • The solution of javaw.exe in your current path
  • [Solved] Running eclipse prompts The Eclipse executable launcher was unable to locate its companion library
  • Ubuntu16.04: How to Solve “no java virtual machine was found after searching the following locations:” Error
  • Eclipse failed to create the java virtual machine [How to Solve]
  • [Solved] MVN – version error: Exception in thread “main” java.lang.UnsupportedClassVersionError
  • Open eclipse and pop up the solution of “no Java virtual machine was found…”
  • Could not find the main class Program will exit [How to Solve]

This entry was posted in Error and tagged java virtual machine launcher could not find the main class. program will exit on June 13, 2021 by Robins.

Post navigation

← Java.util.Date cannot be cast to java.sql.Date [Simple Way to Solve] Error in spring tool suite (STS) startup: Java was started but returned exit code = 13 problem solved →

Recent Posts

  • [Solved] The bean ‘sysDictService’ could not be injected because it is a JDK dynamic proxy
  • How to Use awk to Analyze Nginx Log
  • [Solved] Win-KeX/wsl2/kali Startup Error: A fatal error has occurred and VcXsrv will now exit.
  • [Solved] samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file
  • k8s Error: [ERROR FileAvailable–etc-kubernetes-kubelet.conf]: /etc/kubernetes/kubelet.conf already exists
  • [Solved] NoSuchMethodError: org.springframework.boot.web.servlet.error.ErrorController.getErrorPath
  • [Solved] flink web ui Submit Task Error: Server Respoonse Message-Internal server error
  • Mysql Error: 1140 – In aggregated query without GROUP BY, expression #2 of SELECT list contains nonaggregated column ‘a.store’; this is incompatible with sql_mode=only_full_group_by
  • [Solved] Mybatis multi-table query error: Column ‘id’ in field list is ambiguous
  • [Solved] fluentd Log Error: read timeout reached

Tags

  • )
  • android
  • android studio
  • CentOS
  • centos7
  • chrome
  • DebugAH
  • django
  • docker
  • eclipse
  • git
  • github
  • go
  • hadoop
  • Hive
  • IDEA
  • ios
  • java
  • jenkins
  • Linux
  • Mac
  • maven
  • MyBatis
  • mysql
  • nginx
  • No module named XXX error
  • npm
  • Oracle
  • php
  • pip
  • pycharm
  • Python
  • Python TypeError
  • redis
  • shell
  • spring
  • springBoot
  • ssh
  • SVN
  • tensorflow
  • tomcat
  • ubuntu
  • vue
  • Windows
  • Yum
Proudly powered by WordPress