Thanks for that update...



  • Most of the time, I work on a UNIX system, ssh-d in from a Windows 7 PC. We're running Exceed (ugh) in order to pipe X-Windows GUIs back to our workstations. Occasionally, I work through the local workstation during outages and/or maintenance. I program in Java using NetBeans within both the UNIX and Windows environments.

    The UNIX systems are controlled and administered by in-house admins since the systems are considered 'mission systems'. They do the updates and what-not to the UNIX infrastructure. The Windows PCs are part of the wider infrastructure and managed by a higher-level general IT shop which pushes out patches, software updates, etc., through Systems Management Service (SMS) or something like it.

    For at least the third time now, my local workstation has had a Java update pushed to it, overwriting the previous version. However, since I'm PROGRAMMING, I don't have just the runtime environment, I have the development kit. But even though there's a mismatch in what's installed, the updater unceremoniously uninstalls the JDK/JRE and installs only the JRE.

    So during maintenance and outages, I sit and twiddle my thumbs. Or do 'research' on the web. Because the trouble-ticket reporting systems to report this broken-ness are on the UNIX systems that are inaccessible during these outages when I need to work off the local workstation.

    Yay.

     



  • Do your Unix and Win JREs have to match?

    I'm under the impression that apps you're coding (possibly under Win) will run on Unix platforms, but it's not clear from your post.

     



  • @Cassidy said:

    Do your Unix and Win JREs have to match?

    I'm under the impression that apps you're coding (possibly under Win) will run on Unix platforms, but it's not clear from your post.

     


    I'm no Java expert, but I suspect that, regardless of JRE versions, it'd be easier to develop Java programs with the Java Development Kit not uninstalled.



  • You're right... but it doesn't answer my question.

    Bizarrely... under Windows, the JDK includes a JRE, meaning you could end up with two JREs, sometimes of different versions and it's not obvious which one is in use - it was either a a registry entry or a JAVA_HOME environment variable, or a config setting per-application.

    And then there was a time when the JDK said that the install of a JRE was a pre-requisite, so once it installed one in C:\java\jre it then continued to install the dev kit in C:\java\jdk which contained a duplicate JRE in C:\java\jdk\jre.

     



  • The JDK under UNIX carries a JRE along with it as well. There's essentially no difference between the Windows JDK and the UNIX JDK, except the Windows' java.exe, etc. won't run on UNIX and vice versa.

    Yes, our apps *could* run on either platform ... if it weren't for all the hard-coded path information in the app. And the C-shell command line stuff that the App runs. And the UNIX C- and FORTRAN-based plugins that they want to run (and may or may not have the source code to so as to be able to recompile on a different platform.)

    Now as for NetBeans, the version I use nowadays doesn't seem to include the JDK bundled any longer ... or ... it requires a JRE at a minimum to install the bundle ... or something.

    But I digress ...

    The code/app itself has sources that started on/around Java 1.1, but over the years, some have used more modern language features (auto-boxing, new JTable constructs); so we need at least a 1.6 compiler/JRE on which to compile/run.



  • @zelmak said:

    X-Windows

    What are those? I know about

      X
      X Window System 
      X Version 11
    

    But no such thing as "X-Windows [sic]".


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.