basic question: how java coding differs by OS ?

Discussion in 'App Development' started by entropytrading, Jan 28, 2019.

  1. Sorry to be a dumb question but can someone tell me how does programming Java (SE) differ between Linux Ubuntu and Windows OS?

    I see some recruiters and some books talk as if java programming in Ubuntu is different from Windows. I use IntelliJ and DrJava in both Ubuntu and Windows and don't realize how are they different for me as a coder.

    Thanks
     
  2. traider

    traider

    GUI is different
     
  3. There are potential IDE differences. I assume IntelliJ is the same in linux as it is in windows ( I use it in windows). Maybe some differences in path setting and execution of applications. I honestly can't think of anything else. Probably just recruiters not understanding what they are recruiting for. I'd be curious to see what books are saying though.
     
  4. I understand how IDE can be different (like using visual studio in windows) but IDE differences should just be cosmetic having no real differences for a programmer (like webbrowsing with firefox vs chrome?). For typical applications in Java SE, the codes I write are the same, compile/execute the same, and the IDEs more or less look the same. Pathclass setting is different but that a OS-thing, but particularly a Java programming thing. Obviously installation differs but different OS of course install differently, nothing to do with the programming.

    Not that I am looking for a job but just checking what programming skills are in demand these days and often see something like:

    : x years of experience in writing Java in a Linux environment

    In some books, I saw something like "this book assumes programming in a Linux environment".
     
  5. carrer

    carrer

    I think some things can be different. For example, you are accessing some low level information or data (OS specific). If you are doing high level stuff then probably no difference.
     
    entropytrading likes this.
  6. I'd venture a guess that they are just being ultra specific on their hiring page. If they use a linux environment, they at least want the person to be comfortable working in linux. It seems a shortcut to saying 'X years experience in writing java', 'X Years experience working in a linux environment'.

    If you were putting out a resume, just put that you have experience in linux and java separately. As carrer mentioned, there may be a few jobs that do low level OS modification, but that seems more likely to be an interview question.
     
    d08 likes this.
  7. That kinda what I have guessed, as most OS-specific details are handled by the IDE s.t. coders shouldn't have to care. Java EE in a Unix environment might be a different story, but where I see are job posts for developers for some trading shops.
     
  8. southall

    southall

    There maybe scripting around that the java application that will be different.
    eg shell scripting for the CI and installation scripts.
    Even as a java developer you might have to modify and maintain those files.
     
    entropytrading likes this.
  9. Right, so it seems that coding core Java per se is the same across OS. Difference arises when we use codes to interact with the OS. In that case, I think the supermajority of those job posts asking for 'java programming in linux' is just BS, as interacting with one OS to the next shouldn't be that much of a change
     
  10. d08

    d08

    Exactly. They don't want someone who never touched linux to join the team when everyone else is using linux. Certain system level commands and parameters are very different in linux compared to say Windows. This is not specific to Java but all languages. Say you wanted to call 'ping' and read the replies from a terminal, this is very very different in linux compared to Windows but on first glance it appears to be the same.
     
    #10     Jan 30, 2019