Welcome to the Ranch, Tyler
Tyler Manharth wrote:JavaScript code is run on a browser only
Quite disagree with this statement. Both languages can run on a browser as well as both can run on a server.
Tyler Manharth wrote:Java code needs to be compiled while JavaScript code are all in text.
Both of the languages codes are in text. Java is compiled, while JavaScript is interpreted - I think this is what you actually meant.
Tyler Manharth wrote:They require different plug-ins for their own needs.
I don't think that languages require plug-ins. Maybe people use plug-ins for their needs in order to simplify some stuff. But not quite sure what you exactly meant by plug-ins and in which context.
Tyler Manharth wrote:Platform independent means java can run on any computer
Probably more of a, on those, on which Java Virtual Machine can run.