Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Can I find out running java version from remote debugger?

I am remotely connected to a running JVM on another system and suspect that application may be running the wrong version of either the JVM itself or (more likely) one of the library jars. The specific problem is that we should be running 1.6 everywhere, but it cannot find (i.e. gets a NoClassDefFoundError) sun.text.normalizer.NormalizerImpl, which is a class that moved packages between 1.5 and 1.6. So I'm wondering if there's a specific place in a running JVM - such as a specific method call I can make - to find out this information.

1 Answer

Relevance
  • 1 decade ago
    Favorite Answer

    I suppose,if you can run remote debugger than you will be having those credential details

    ip adress

    port and user details

    why dont you connect it through and type command java -version which will give you the current java version on that remote server.

    Btw,yes if versions are not in Sync. they will provide such type of error messages as different versions of java will have different JDA(java debugg architectures )and parsing .

    I dont think you can find version while sitting on remote pc as code which will run will be the one at that machine else you could try System.property("java")

    Hope this helps

    Cheers:)

Still have questions? Get your answers by asking now.