Jessie Smetts
@KarmaIsKrazy
Hee, Hee, I'm bad as Michael Jackson
0
I don't understand constructing packages in repl for java. Could someone explain how to do this?
0
MineClickerIt's literally what the name implies. A Minecraft clicker game. I develop it more as I learn more in java so don't be surprised if you java nuts out there see some pretty inefficient code.
48
0
0
Is it possible to make .json files in repl
Bookie0 Yes you can, check this link out for how to do it, from a repl talk question.
And this as well, from the repl.it docs and scroll down a bit.
Good luck! :D2 years ago
A small snake game
> This game is not complete so expect these updates
>> Different levels of difficulty
>> Evade bullets mode
>> Start game Countdown
Java
How would i remove the drawing from the menu and enter the game, every time I click it does nothing
Java
19wintersp I think that error just means there is no output device. You can't play music very easily on Replit. Apparently, there's a system for that, but I'm not sure how to use it in Java.2 years ago
Baconman321 Click the stop button at the top of the repl when it's running. You can also use System. exit(0) to stop the code at a certain point.2 years ago
Pay no attention to the repl attached
I am an avid Java programmer. And as I was working on a project, Not the one above, I realized. Hey, I've worke
Java
im trying to add my serialVersionUID from the built in terminal line(wich i have done before) but it wont work
Java
RYANTADIPARTHI Report
If you did it in repl.it and it worked before. You might want to report this to bugs, or make a new repl.3 years ago
How can I Configure the run button to run the launcher class in this package I'm making a project from a tutorial and I like to follow tutorials top t
Java
RYANTADIPARTHI You have to make a .replit file, and try to get the run on your hosting.
run="your configuring."
`3 years ago
Coder100 Make a .replit file, and try something like:
run="cd com/Karma/Game2dFirstTry ; javac *.java ; java Main"
`3 years ago
EpicGamer007 Yes you can configure it, create a file called .replit then type run="bash main.sh". then create another file called main.sh. in main.sh, type
cd com/Karma/Game2dFirstTry
javac *.java
java Launcher
I have not tried this so i suggest you try this then report back3 years ago
im trying to add a java applet into my html but its giving me a weird bug. could someone look at game.html in pages and run it to see whats wrong
RYANTADIPARTHI Try it again, using this code:
Your file
So just use that, and put your info, here's an extra link
http://www.simplehtmlguide.com/javaapplets.php#:~:text=Use%20these%20attributes%20of%20the,jar3 years ago
how would I auto add a serial version UID in repl.it I don't know how to make one myself so that could be helpful too
Java
EpicGamer007 if you use eclipse, you can have that auto-generate it, if not, you can use the console or you can give it a default value by saying public static final long serialVersionUID = 1L; or something along those lines3 years ago
RYANTADIPARTHI IF you are talking about making UID check this link:
https://docs.oracle.com/javase/7/docs/api/java/rmi/server/UID.html3 years ago
A clicker game about Minecraft. Includes .Jar file so that you can download and run it on a computer without opening repl
> downloaded version will no
Java
If I downloaded the .class and java files could I also download these as .jar files from repl.
Java
RYANTADIPARTHI Yes it is try this:
javac -classpath .:./jars/ -d . Main.java
java -classpath .:./jars/ Main
If you want to configure the "Run" action, you can define a .replit file in your project and add the following line.
run = "export CLASSPATH=\".:./jars/*\"; javac -d . Main.java; java Main"
`3 years ago
RYANTADIPARTHI It looks like you declared a var in between of something. so it's a interruption. don't declare it there.3 years ago
I'm doing a java project and I'm making a package, how do I change the file that repl runs
OK
I need a little help
Can anyone show me how to add a java project to an HTML project
Java