Java errors when ran


#1

can i run java on glitch? and if so why will the main methods not work


#2

Java ought to work fine, but it really depends on how you’re loading and executing your code. Can you share your project name so someone can take a look?

I’m also going to move this to Coding Help; it’s likely not a problem with Glitch itself.


#3

@cori


#4

Ok, I’m no Java engineer, but I definitely don’t see any Java when I look in this project. Can you verify it’s the right one, and if so help me understand what I should be looking for?


#5

it used be named deep-web.java
i deleted it too, i gave up after awhile


#6

@cori it is back now


#7

Try compiling your file with the Java compiler in the console:

javac -cp . deep-web.java

You’ll see a few errors.