Sunday, May 12, 2019

How to get JAVA vendor information and properties of java installed




How to get JAVA vendor information



On Linux or Unix , you can use below command to get JAVA VENDOR information like JAVA proprietary information. Example

java.vendor = Oracle Corporation



Command :-   


$ java -XshowSettings:properties -version 2> /tmp/file1.txt ; cat /tmp/file1.txt | grep java.vendor"


How to check version of JAVA installed



Command :-    $ java -version




How to check Properties of JAVA installed

 

[myuser@localhost ~]$ java -XshowSettings:properties -version

Property settings:
    awt.toolkit = sun.awt.X11.XToolkit
    file.encoding = UTF-8
    file.encoding.pkg = sun.io
    file.separator = /
    java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
    java.awt.printerjob = sun.print.PSPrinterJob
    java.class.path = .
    java.class.version = 51.0
    java.endorsed.dirs = /home/myuser/java/jdk1.7.0_75/jre/lib/endorsed
    java.ext.dirs = /home/myuser/java/jdk1.7.0_75/jre/lib/ext
        /usr/java/packages/lib/ext
    java.home = /home/myuser/java/jdk1.7.0_75/jre
    java.io.tmpdir = /tmp
    java.library.path = /usr/java/packages/lib/amd64
        /usr/lib64
        /lib64
        /lib
        /usr/lib
    java.runtime.name = Java(TM) SE Runtime Environment
    java.runtime.version = 1.7.0_75-b13
    java.specification.name = Java Platform API Specification
    java.specification.vendor = Oracle Corporation
    java.specification.version = 1.7
    java.vendor = Oracle Corporation
    java.vendor.url = http://java.oracle.com/
    java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    java.version = 1.7.0_75
    java.vm.info = mixed mode
    java.vm.name = Java HotSpot(TM) 64-Bit Server VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.7
    java.vm.vendor = Oracle Corporation
    java.vm.version = 24.75-b04
    line.separator = \n
    os.arch = amd64
    os.name = Linux
    os.version = 2.6.32-431.23.3.el6.x86_64
    path.separator = :
    sun.arch.data.model = 64
    sun.boot.class.path = /home/myuser/java/jdk1.7.0_75/jre/lib/resources.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/rt.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/sunrsasign.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jsse.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jce.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/charsets.jar
        /home/myuser/java/jdk1.7.0_75/jre/lib/jfr.jar
        /home/myuser/java/jdk1.7.0_75/jre/classes
    sun.boot.library.path = /home/myuser/java/jdk1.7.0_75/jre/lib/amd64
    sun.cpu.endian = little
    sun.cpu.isalist =
    sun.io.unicode.encoding = UnicodeLittle
    sun.java.launcher = SUN_STANDARD
    sun.jnu.encoding = UTF-8
    sun.management.compiler = HotSpot 64-Bit Tiered Compilers
    sun.os.patch.level = unknown
    user.country = US
    user.dir = /home/myuser/
    user.home = /home/myuser/
    user.language = en
    user.name = myuser
    user.timezone =
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

22 comments:

  1. This blog post is really great; the top 10 website design company standard stuff of the post is genuinely amazing.

    ReplyDelete
  2. Building financial models is an art. The only way to improve your craft is to build a variety of financial models across a number of industries. Let's try a model for an investment that is not beyond the reach of most individuals - an investment property.
    property appraiser

    ReplyDelete
  3. I accept there are numerous more pleasurable open doors ahead for people that took a gander at your site.
    Best CRM System

    ReplyDelete
  4. This was really an interesting topic and I kinda agree with what you have mentioned here! villa for rent in egypt

    ReplyDelete
  5. Please continue this great work and I look forward to more of your awesome blog posts. villa for sale in el gouna

    ReplyDelete
  6. yes you might be crazy but your post is owsum
    online render farm

    ReplyDelete
  7. Wow! Such an amazing and helpful post this is. I really really love it. It's so good and so awesome. I am just amazed. I hope that you continue to do your work like this in the future also حمله سایبری

    ReplyDelete
  8. Moreover, such plans can exploit the time contrasts so basic tasks can be chipped away at almost nonstop. Firms can re-appropriate their assembling to different countries and depend on media communications to continue promoting, R&D, and circulation groups in close contact with the assembling gatherings. Alfresco Training

    ReplyDelete
  9. The need to provide web security and defend web applications from hackers due to software and hardware vulnerabilities requires remote an online web vulnerability-assessment service to combat maximum vulnerabilities. The risks must be continually updated and the tests tailor-made to provide optimal solutions. Fókuszpályázat

    ReplyDelete
  10. I check your blog and it is really information for us Otherwise if anyone want to Learn Java & Advanced java so You Can Contact US-+91-9311002620 Or Visit Our Website- https://www.htsindia.com/Courses/java/advanced-java-training-institute-in-delhi

    ReplyDelete
  11. This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. offplan projects for sale in Dubai

    ReplyDelete
  12. Exactly how purchasing a property is significant; selling your property is additionally the equivalent. At last, what may be useful for the purchasers may be awful for the venders. Here are some compelling tips for property selling. Just Listed Calgary

    ReplyDelete
  13. In this way, we should start by estimating rental pay and the enthusiasm for the property in thought.Irish property advertising

    ReplyDelete
  14. Java is one of the leading languages and its user- friendliness and flexible features makes it a ‘go-to’ language for most of the web developers.

    Java Training Institute in Delhi

    ReplyDelete
  15. Information technology has IT company Toronto reformed business activities.

    ReplyDelete
  16. I just couldn't leave your website before telling you that I truly enjoyed the top quality info you present to your visitors? Will be back again frequently to check up on new posts. tebyan real estate development

    ReplyDelete