Java server cant build
Hi,
I have a group project where we currently have a server client in java. Our idea was to have the client on our local computers but the server hosted on Railway. Unfortunally I cant get the server to get a build. I keep runing into context: a27c8c3cdde36368d353a5b491cee25e.
My project Id: 1fd637f3-03a9-4a02-8165-aa2d33b08eca
9 Replies
Project ID:
1fd637f3-03a9-4a02-8165-aa2d33b08eca
@aleks - need java help
That doesn't look like an error to me - could you send your full logs using https://bookmarklets.up.railway.app/log-downloader/ ?
Oh, you don't have any build system or anything set up. How do you usually compile your project?
I usually compile using Intelij or terminal with Javac
Would it be beneficial to use docker for example?
Yeah, probably - sorry for not responding. Could you send an example of a command you would use to build that? I'm not familiar with how to build a build-system-less project with IntelliJ.
To compile or build Ive added javac StartServer.java and to start Ive added java StartServer.java. I get this now;
Configuration File Reference | Nixpacks
App source + Nix packages + Docker = Image