Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Stupid Java

Stupid Java

Scheduled Pinned Locked Moved The Lounge
java
40 Posts 21 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Joe Woodbury

    Our firewall runs Kaspersky and should have caught it. Symantec should have caught it. Neither did. We're trying to figure out the guilty web site. My worry is that one of our customer's sites was hijacked with a zero day attack. Yes, the problem is the JRE, not Java per se. I had an official Sun JRE on there that was used to maintain a proxy server we've since taken out of service and I just left the JRE there thinking it wouldn't be a problem and I might need it. (Surround SCM ships with the GUIFFY compare utility, which uses Java. Turns out it's a horrible program and I've since switch to Beyond Compare.)

    A Offline
    A Offline
    Andy Brummer
    wrote on last edited by
    #17

    Traditional signature based virus scanners are at a real disadvantage these days. The good exploit writers use virus generation applications that replace the binaries every few hours to stay ahead of the signatures. By the time the scanner can detect the binary, they are probably already onto the next binary.

    I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

    1 Reply Last reply
    0
    • C Chris Maunder

      You beat me to it. That news item was a little wishy-washy though: on one hand it says "Java is a security threat and you can easily live without it" but on the other it says some apps that may be mission critical (VMWare?) require java, so you may as well install Java just in case. I'd much rather the article just say "Die, Java, Die" so we could have a good, proper religious war about it all.

      cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

      M Offline
      M Offline
      Member 96
      wrote on last edited by
      #18

      VMWare does *not* require Java. Open Office does though which is the only "big" app I can think of that does that even remotely is on my radar.


      Yesterday they said today was tomorrow but today they know better. - Poul Anderson

      C R 2 Replies Last reply
      0
      • M Member 96

        VMWare does *not* require Java. Open Office does though which is the only "big" app I can think of that does that even remotely is on my radar.


        Yesterday they said today was tomorrow but today they know better. - Poul Anderson

        C Offline
        C Offline
        Chris Maunder
        wrote on last edited by
        #19

        Not having used VMWare lately I was merely quoting the article: "In batting the idea around, Alex Williams, our enterprise editor, noted that a large number of enterprise solutions still rely on Java. Vmware, for example, is introducing platforms[^] to work with both Salesforce and Google that depend on Java to operate"

        cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP

        1 Reply Last reply
        0
        • N Nemanja Trifunovic

          Yep, I make sure to keep JRE out of my home machine. The same rule generally applied to .NET runtime before it started coming with Windows (maybe it is possible to remove it even now, but I am too lazy to check :) )

          utf8-cpp

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #20

          So why did you have Java on your systems in the first place? Personally I am happy to have it installed and have had fewer problems (i.e. none) than I have with any Microsoft product.

          It's time for a new signature.

          L N 2 Replies Last reply
          0
          • L Lost User

            So why did you have Java on your systems in the first place? Personally I am happy to have it installed and have had fewer problems (i.e. none) than I have with any Microsoft product.

            It's time for a new signature.

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #21

            I guess it is all right if you have one (or only a few) Java environment and keep it up-to-date; there has been a period every web site using Java required another version, and keeping all of them up-to-date and hence safe, was quite a job. I see no compelling reason for JRE to be more unsafe than any other framework, including the .NET collection. :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

            Please use < PRE > tags for code snippets, it preserves indentation, and improves readability.

            1 Reply Last reply
            0
            • M Member 96

              VMWare does *not* require Java. Open Office does though which is the only "big" app I can think of that does that even remotely is on my radar.


              Yesterday they said today was tomorrow but today they know better. - Poul Anderson

              R Offline
              R Offline
              rastaVnuce
              wrote on last edited by
              #22

              I'm using OOo, and I have disabled Java. It might mean that Java isn't crucial for it to function. As far as I remember, Java is used for some features only. But, unfortunately, I still need Java. Can't run Eclipse without it. And Eclipse/PyDev is still the best option for Python, AFAIK.

              We are using Linux daily to UP our productivity - so UP yours!

              1 Reply Last reply
              0
              • L Lost User

                So why did you have Java on your systems in the first place? Personally I am happy to have it installed and have had fewer problems (i.e. none) than I have with any Microsoft product.

                It's time for a new signature.

                N Offline
                N Offline
                Nemanja Trifunovic
                wrote on last edited by
                #23

                Richard MacCutchan wrote:

                So why did you have Java on your systems in the first place?

                Came with some software I evaluated (OpenOffice, Scratch). The reason I don't want JRE on my home system is really that I don't want any software written with Java running. No JRE - no Java apps, as simple as that :)

                utf8-cpp

                C 1 Reply Last reply
                0
                • J Joe Woodbury

                  Came in this morning and a Fake Anti-Virus Trojan was running on my computer. I had the IT guy come and see what was up while I went to a meeting. Unfortunately, stupid Symantec didn't catch it until it had already run (did catch it later--thanks alot.) While making sure everything was clean, I ran across the Java Installer logs. Sure enough, that's how the damn thing got in. This is the second time I've seen a trojan/virus come into a system through Java and a coworker said he recenty had the same thing happen. So I removed Java from my system and will never use it again. (Several companies write their damn utilities in Java. Those features and/or products are no longer welcome on any system I use.)

                  L Offline
                  L Offline
                  LloydA111
                  wrote on last edited by
                  #24

                  Joe Woodbury wrote:

                  So I removed Java from my system and will never use it again. (Several companies write their damn utilities in Java. Those features and/or products are no longer welcome on any system I use.)

                  I write applications for my phone in Java ;P Luckily, the JRE does not seem to have any update feature, so I think (hope) my phone is pretty safe from any viruses that spread by it. I also have only installed Java applications that I have source code for, so that I can check it and make sure it's not up to anything dodgy :laugh:


                  Programming is 10% science, 20% ingenuity, and 70% getting the ingenuity to work with the science. WYSIWYMGIYRRLAAGW: What You See Is What You Might Get If You’re Really Really Lucky And All Goes Well.

                  1 Reply Last reply
                  0
                  • E Electron Shepherd

                    But, assuming a properly configured firewall, the download of the trojan must be initiated from your computer. The only way I can see that working is from a dodgy web page that installs a rogue applet, that either is the actual trojan, or downloads it. If that's the case, the problem isn't so much with Java per se, but the Java runtime, which will be written in a proper language. You could always consider switching to a different JRE. I'm with you, though, mainly. I have yet to see a Java program that runs as fast, looks as nice or is as feature-rich as a native platform application. I can see the benefit of using it if you have *lots* of platforms that your code needs to run on (Oracle tools come to mind, for example).

                    Server and Network Monitoring

                    C Offline
                    C Offline
                    Cedric Moonen
                    wrote on last edited by
                    #25

                    Electron Shepherd wrote:

                    I have yet to see a Java program that runs as fast, looks as nice or is as feature-rich as a native platform application.

                    Eclipse ? I agree that it is not extremly fast but when you compare it with Visual studio, it is more or less equivalent.

                    Cédric Moonen Software developer
                    Charting control [v3.0] OpenGL game tutorial in C++

                    S 1 Reply Last reply
                    0
                    • N Nemanja Trifunovic

                      Richard MacCutchan wrote:

                      So why did you have Java on your systems in the first place?

                      Came with some software I evaluated (OpenOffice, Scratch). The reason I don't want JRE on my home system is really that I don't want any software written with Java running. No JRE - no Java apps, as simple as that :)

                      utf8-cpp

                      C Offline
                      C Offline
                      Cedric Moonen
                      wrote on last edited by
                      #26

                      Nemanja Trifunovic wrote:

                      The reason I don't want JRE on my home system is really that I don't want any software written with Java running. No JRE - no Java apps, as simple as that

                      For which specific reason ? Just because you don't like Java ? Or is there a concrete reason for that ?

                      Cédric Moonen Software developer
                      Charting control [v3.0] OpenGL game tutorial in C++

                      N 1 Reply Last reply
                      0
                      • C Cedric Moonen

                        Electron Shepherd wrote:

                        I have yet to see a Java program that runs as fast, looks as nice or is as feature-rich as a native platform application.

                        Eclipse ? I agree that it is not extremly fast but when you compare it with Visual studio, it is more or less equivalent.

                        Cédric Moonen Software developer
                        Charting control [v3.0] OpenGL game tutorial in C++

                        S Offline
                        S Offline
                        Shamit Kumar Tomar
                        wrote on last edited by
                        #27

                        Cedric Moonen wrote:

                        when you compare it with Visual studio, it is more or less equivalent.

                        No, it's not. VS is much much ahead. :cool:

                        Procrastination and Improvisation are my two swords to fight life.

                        D C 2 Replies Last reply
                        0
                        • S Shamit Kumar Tomar

                          Cedric Moonen wrote:

                          when you compare it with Visual studio, it is more or less equivalent.

                          No, it's not. VS is much much ahead. :cool:

                          Procrastination and Improvisation are my two swords to fight life.

                          D Offline
                          D Offline
                          dawmail333
                          wrote on last edited by
                          #28

                          Seconded. One of these days I'll build a PHP project environment for VS Shell. :cool::cool:

                          S 1 Reply Last reply
                          0
                          • S Shamit Kumar Tomar

                            Cedric Moonen wrote:

                            when you compare it with Visual studio, it is more or less equivalent.

                            No, it's not. VS is much much ahead. :cool:

                            Procrastination and Improvisation are my two swords to fight life.

                            C Offline
                            C Offline
                            Cedric Moonen
                            wrote on last edited by
                            #29

                            Did you use Eclipse already ? I use both Visual Studio (for C++ development) and Eclipse for Java development. In that scenario Eclipse is far more advanced than Visual Studio (all the extremly powerful refactoring operations are not available in VS). Of course this is also due to language limitation but still, the gap is huge. The also really like the perspectives and plug-in mechanism in Eclipse.

                            Cédric Moonen Software developer
                            Charting control [v3.0] OpenGL game tutorial in C++

                            1 Reply Last reply
                            0
                            • D dawmail333

                              Seconded. One of these days I'll build a PHP project environment for VS Shell. :cool::cool:

                              S Offline
                              S Offline
                              Shamit Kumar Tomar
                              wrote on last edited by
                              #30

                              No need. VS.PHP[^] already exists there for years.

                              Procrastination and Improvisation are my two swords to fight life.

                              D 1 Reply Last reply
                              0
                              • S Shamit Kumar Tomar

                                No need. VS.PHP[^] already exists there for years.

                                Procrastination and Improvisation are my two swords to fight life.

                                D Offline
                                D Offline
                                dawmail333
                                wrote on last edited by
                                #31

                                But the price is not right ;)

                                S 1 Reply Last reply
                                0
                                • D dawmail333

                                  But the price is not right ;)

                                  S Offline
                                  S Offline
                                  Shamit Kumar Tomar
                                  wrote on last edited by
                                  #32

                                  Did you buy the original Visual Studio :laugh: ? There are many ways to get what you want.

                                  Procrastination and Improvisation are my two swords to fight life.

                                  D 1 Reply Last reply
                                  0
                                  • S Shamit Kumar Tomar

                                    Did you buy the original Visual Studio :laugh: ? There are many ways to get what you want.

                                    Procrastination and Improvisation are my two swords to fight life.

                                    D Offline
                                    D Offline
                                    dawmail333
                                    wrote on last edited by
                                    #33

                                    Nope, I got every edition of VS for free, at about the Professional level. Thanks MS and your awesome Dreamspark! (I also got Expression Studio for free too!)

                                    1 Reply Last reply
                                    0
                                    • J Joe Woodbury

                                      It ended up in <username>\Application Settings\<Random Directory Name> The executable ended in tssd.exe. It may have been installed through an executable called PdfUpd.exe, though that's not clear. We actually found it by using Glary utilities to see what programs were starting.

                                      B Offline
                                      B Offline
                                      Bill Gross Tech
                                      wrote on last edited by
                                      #34

                                      Joe Woodbury wrote:

                                      We actually found it by using Glary utilities to see what programs were starting.

                                      You trust Glary Utilities? I thought GU was going to be something awesome, but it seemed to behave like a trojan itself.

                                      J 1 Reply Last reply
                                      0
                                      • E Electron Shepherd

                                        But, assuming a properly configured firewall, the download of the trojan must be initiated from your computer. The only way I can see that working is from a dodgy web page that installs a rogue applet, that either is the actual trojan, or downloads it. If that's the case, the problem isn't so much with Java per se, but the Java runtime, which will be written in a proper language. You could always consider switching to a different JRE. I'm with you, though, mainly. I have yet to see a Java program that runs as fast, looks as nice or is as feature-rich as a native platform application. I can see the benefit of using it if you have *lots* of platforms that your code needs to run on (Oracle tools come to mind, for example).

                                        Server and Network Monitoring

                                        S Offline
                                        S Offline
                                        syspau
                                        wrote on last edited by
                                        #35

                                        <blockquote class="FQ"><div class="FQA">Electron Shepherd wrote:</div>I have yet to see a Java program that runs as fast, looks as nice or is as feature-rich as a native platform application.</blockquote> I've written such applications, thank you very much! Once you learn how to use Swing, you can build Java GUI applications every bit as feature rich, and not noticably slower than a native Windows app. You can have every single window intelligently resizeable. There are a lot of bad applications written in every language, for every platform, and there are also good ones, just as there are bad programmers and good ones.

                                        1 Reply Last reply
                                        0
                                        • C Cedric Moonen

                                          Nemanja Trifunovic wrote:

                                          The reason I don't want JRE on my home system is really that I don't want any software written with Java running. No JRE - no Java apps, as simple as that

                                          For which specific reason ? Just because you don't like Java ? Or is there a concrete reason for that ?

                                          Cédric Moonen Software developer
                                          Charting control [v3.0] OpenGL game tutorial in C++

                                          N Offline
                                          N Offline
                                          Nemanja Trifunovic
                                          wrote on last edited by
                                          #36

                                          Cedric Moonen wrote:

                                          For which specific reason ?

                                          Every single Java software I ever tried is a memory hog. That may be OK for specialized servers, but not a home machine where I run multiple applications and want to switch between them quickly.

                                          utf8-cpp

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups