Just install Apache and read some stupid tutorial online for embedding Java files. Also, the word your looking for is an HTTP server, HTML is a the language. (HTML = HyperText Markup Language, HTTP = HyperText Transfer Protocol)
Chase Wilson
Idk i need a index.html
Easton Barnes
That's where you embed the Java file, you fucking dolt! Do some research and learn about what you're doing, Google is 11 button presses away and you can learn how to set up a complete, working webserver on any modern OS with a 10 minute YouTube video, now get fucked and finish your homework, pajeet
Brody Martin
I did you fucking hurensohn, fuck off bitch where do i get the html
Lucas Taylor
Open notepad and create an html file. Save it with .html at the end.
Nathan Perez
Okay, I'm going to tell you one more time. You set up the server, and now when you go to localhost in your browser, it shows you your index.html. You need to MAKE this file and put it in the configured location for your HTTP server, and in this index.html THAT YOU MAKE, you need to embed the jar file. Remember to code the index.html and put it in the required folder. One more time, make an index.html from scratch and put it where it needs to be. Final thought: make a file named "index" in a text editor, or HTML editor, and save it with extension HTML. Oh, and did I mention that you need to make your own index.html? Cause you do. Now kindly Fuck off and make your index.html (and put it in the correct folder)
Caleb Parker
why the fuck does it require such a big effort why doesn't it just create it all at once when i press New project ?
Jeremiah Powell
Honestly just kill yourself. This is the dumbest question I've ever seen. Read a book on the topic.
Connor Perry
Fuck you bitch i'm not trying to set up a website i'm just trying to mess around with the code but i can't see what i'm doing because the fucking preview won't show because the fucking index is not there and fuck you too bitch
Bentley Miller
>big effort >5 minutes tops
Ayden Hernandez
It's java, you need more brackets. Now do you have any money questions? Cause java isn't going to make you any money.
Hunter Smith
ok tell me how to set up a server you genius
Nolan Jenkins
Im filthy rich, i just do it for fun kiddo, i'm not broke like everybody in this forum
Christian Jackson
Never thought I'd say it, but now I know why "For dummies" series is so successful.
Josiah Ortiz
>Im filthy rich, i just do it for fun kiddo, i'm not broke like everybody in this forum Do what for fun, fail to save a .html file?
Oliver Diaz
You came to us bro. Now what's this got to do with Veeky Forums?
Robert Myers
look you're so broke you're not even unterstanding what im sayin fagit, i know how to create an html file but it doesn't show my project in it in the browser you stupid random canadian fagg
Lincoln Wilson
If you can't understand basic instructions, no one can help you.
kys
And yes, I'd like fries with that.
Kayden Powell
Y'all so desperate to make money nobody is answering any question correctly stupid broke trolls
Bentley Rodriguez
>posts anime no more to say
Brandon Davis
Who knew you couldn't just jump in the middle of a fairly complex topic with no prior experience and would have trouble understanding what to do?
Carter Martinez
Seriously, if localhost isn't coming up. This means you fucked up one of three things.
I'd tell you, but I'd rather charge you since you're oh so wealthy and being an asshole.
Send $200 BTC 15cva5GAAE5hDXcDhUjfwb3t7wPR95gGKF
t. full stack dev
Wyatt Rodriguez
look.
i don't want to set up a server i don't want to make the page public i just want to see WHAT IM CODING u feel me now ???
Nolan Morales
do you even know the difference between java and javascript?
Brody Howard
I see.
I'll assume you're using an IDE, like eclipse.
Compile it into a .jar file then run the .jar file to test your Java program.
However, if you absolutely need to run it in the browser, just embed your jar file in the html file and drag it into your browser. It should run fine. You won't need to run a server, but it does make things easier.