Could not find or load main class | solved java run time problem

preview_player
Показать описание
In this video, you will see how to fix the problem of java runtime error.
whenever we write a program then we always face this type of problem.

the right command is "java test" without the extension, please Note this thing, I really apologize about this, but apart from this all things are working, follow the steps. thanks

follow me on
Рекомендации по теме
Комментарии
Автор

He is deliberately creating error by running "java test.class" Correct way is "java test" So when he uses the correct way than he gets the output and when he doesn't it fails.

kirteshsuthar
Автор

I set jdk path, CLASSPATH, JAVA_HOME and also used( import java.lang.*; ) in program but still facing same problem ☹️☹️

mr.vishal
Автор

appreciate the video, the man is trying to help.

Skripturz
Автор

Why make the title English if you're going to speak a different language?

halo
Автор

I watched many videos but only your method worked bro thanks

strickergameryt
Автор

What kind of stupid person who uploaded this video? This video must be immediately banned

nileshmehta
Автор

Despite all the negative comments, I was managed to solve this following these steps. Thank you!!

jasoncysiu
Автор

First you Delete the old dot class file and then run it

manku
Автор

This error comes only if we use .class
Only use name of .class file without .class extension then it runs

ShakeelMir-cl
Автор

When you're a tech support scammer and you forgot your English dictionary at home

ShawnsLegacy
Автор

Still showing this error class, interface, enum, or record expected
now it's not even compiling .Guide me please ..

khusi
Автор

🙏 sir, my scilab can't open showing "scilab cannot create java main-class(we have not been able to find the main scilab class. check if the scilab and thirdparty packages are available)." is that same problem ? please please help me.😢

bijoydas
Автор

Lang package by default import hota hai.

sreajan
Автор

Bhai java.lang.nosuchmethod error is coming tell me what to do

thebotters
Автор

In GDB compiler it shows error ...could not find or load main class someone help

AmanSingh-fwzz
Автор

Thank u so much bro i have done successfully thanks a lot

pankajdhote
Автор

no skip all that above only delete package name ! and will run

sumrjd
Автор

Hi, . how to solve error could not find main class in eclipse

smitavharavadekar
Автор

thanks so much very help full thanks again

onlineteaches
Автор

bhai aap execution ke liye wrong command use kr rahe hai java test hota hai output ke liye .class nhi lagate hai

VivekKumar-pzvt
join shbcf.ru