2024: How to host simple command line Java programs for my students

How would I host/deploy a simple Java command line program so that non-Relit users can run the program? In the past I would just create a Replit and send the link to whoever wanted to run it via the “Run” button on the Replit. I am an instructor and have been using Replit to showcase my student’s Java work.

1 Like

Hey @DanielCommins, can you provide more information on what your trying to host? This will help me to help you.

1 Like

@20gn A simple number guessing game is an example: https://replit.com/@DanielCommins/Bobbys-Guess-Number

I have many other similar projects from students I’m teaching that are learning to code for the first time and want a link to give out for their finished projects.

Thank you.

1 Like

Hey again @DanielCommins, I’m almost positive that you will need your students to register what is called a Student account. Take a look at https://repl.it/classroom for further steps. Due to the nature of the app I’m pretty sure sadly that you cannot deploy a app that has an end to it. If you were hosting a server or something like that it would be useful to use Deployments then. But it seems that you are unable to do this with a Java replit.

Thanks.
-20GN

1 Like

Thank you for the reply @20gn. It’s very unfortunate that this simple feature was removed from Replit. Do you know of any other alternatives other than replit?

The student account link redirects back to the home page, so I’m guessing that was shut down as well. This post also mentions classroom/student accounts are no longer an offered service: https://replit.com/talk/share/Replit-Classrooms/119920

These latest Replit changes have not been very kind to the educational sector.

1 Like

To clarify, Replit Classroom was shut down years ago in favor of Teams for Edu; they provided an old link. However, Teams for Edu has been discontinued/deprecated on November 14. So they basically shut it down twice.

3 Likes

Hi @DanielCommins !
You can’t deploy a console repl as that’s not what deploying is for. Nor will deploying add a run button to the Cover Page. Your students will have to make accounts and fork them.
Hope this helps!

3 Likes

Ah sorry about that. I forgot about it shutting down. But there I’ve heard about a solution from Google.

@NateDhaliwal thank you for the straightforward answer. I will look elsewhere.

1 Like

@DanielCommins If my answer solved your problem, please mark the post as a Solution so that others with this problem can solve their problem too.
cc: @QwertyQwerty88 @Firepup650 @MattDESTROYER

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.