No, Java and JavaScript both are different. Java is an object-oriented programming language, whose programs run on every browser and are complied.
Whereas, JavaScript is an object-based scripting language which creates programs that take very less memory and are designed for the web pages to integrate well with its HTML contents.
Do check out Java certification course from Intellipaat which is a package of 40hrs of online instructor-led training course with 7 guided projects to help you gain the proficiency.
Also, check out our YouTube video on Java vs JavaScript from our experts to help you gather more information.