8

Me:

Hey Java, mind letting me compile and run this single class project that prints 'hello world'

Java:

Did you: add a manifest file, configure your classpath properly, ensure that the VM on the system matches the compiled version, make sure all libraries are included in the compilation and ensure the jar is a runable application?

*sweats*

Comments
  • 1
    sudo apt install default-jdk
    javac *
    java Main.class

    I mean its not exactly rocket science
  • 1
    If you are having issues doing a Java hello world program you might want to consider a different career path there buddy.
  • 0
    @sharktits try this in eclipse then
  • 2
    @YouAreAPIRate eclipse is my main ide :)
  • 1
    @sharktits where were you when i had to split these projects and set up maven and tomcat deployment?

    Seriously, you can learn this if you invest enough time, but things should be kept simple and eclipse doesn't do that.
  • 1
    No no no, i'm not trying to say this whole process is hard or challenging, I was just noting how many layers there were today when I moved from eclipse to intelliJ.
  • 2
    @YouAreAPIRate prolly beating my meat or something.

    Dunno, been using eclipse since i was 15, got used to its quirks. Tried intellij bc everyone was flipping out bout it, but it was a rather meh experience.
  • 0
    use deps management(and plugins) :-D
Add Comment