Oracle JDK, Open JDK version / I want to get program version information

I want to get program version information.

I play processing program. (v3.3.7)

  1. How versions of Oracle JDK are there?
  2. How versions of Open JDK are there?

I know that the processing I use is a JAVA.

Oracle JDK
Open JDK

Can I find the version?

3 Likes

@GoToLoop

very thank you.

size(600, 400, P2D);
smooth(8);
noLoop();
background((color) random(#000000));

println( "\n" + isGL() + "\n" );

println( javaVersionName );
println( System.getProperty("java.home")  + "\n" );

println( System.getProperty("os.arch") );
println( System.getProperty("os.name") );
println( System.getProperty("os.version") + "\n" );

println( System.getProperty("user.home") );
println( System.getProperty("user.dir")   + "\n" );

println( sketchPath );
println( dataPath("") );
println( dataFile("") );

println("\n===[ General Info ]===\n");
println("OPENGL_VENDOR: " + PGraphicsOpenGL.OPENGL_VENDOR);
println("OPENGL_RENDERER: " + PGraphicsOpenGL.OPENGL_RENDERER);
println("OPENGL_VERSION: " + PGraphicsOpenGL.OPENGL_VERSION);
println("GLSL_VERSION: " + PGraphicsOpenGL.GLSL_VERSION);

println("\n===[ Supported Features ]===\n");
println("anisoSamplingSupported: " + PGraphicsOpenGL.anisoSamplingSupported);
println("autoMipmapGenSupported: " + PGraphicsOpenGL.autoMipmapGenSupported);
println("blendEqSupported: " + PGraphicsOpenGL.blendEqSupported);
println("fboMultisampleSupported: " + PGraphicsOpenGL.fboMultisampleSupported);
println("npotTexSupported: " + PGraphicsOpenGL.npotTexSupported);
println("packedDepthStencilSupported: " + PGraphicsOpenGL.packedDepthStencilSupported);
println("maxSamples: " + PGraphicsOpenGL.maxSamples);
println("maxTextureSize: " + PGraphicsOpenGL.maxTextureSize + "\n");