Category Archives: Java SE 6

PHPHOST BLOG

Web Hosting Related Articles You May Need

Recent Java News – Mid-August 2012

Oracle has released significant announcements regarding Java in recent weeks. I summarize some of these in this post.

Java SE 6 End of Life Extended to 2013

Henrik Stahl announced in the post Java 6 End of Public Updates extended to February 2013 tha… Continue reading

Posted in Java SE 6, Java SE 7, JavaOne 2012, Syndicated | Comments Off on Recent Java News – Mid-August 2012

NetBeans 7.1’s Internal Compiler and JDK 6 Respecting Return Type for Method Overloading

I was first exposed to Java after several years of C++ experience and so it seemed natural when I learned that Java does not allow method overloading based on return type. The Defining Methods section of the Classes and Objects lesson in the Java Langu… Continue reading

Posted in Java SE 6, Java SE 7, NetBeans, Syndicated | Comments Off on NetBeans 7.1’s Internal Compiler and JDK 6 Respecting Return Type for Method Overloading

A Plethora of Java Developments in February 2012

There are several sites (Java.net, JavaWorld, JavaLobby/DZone, Java reddit, and Java Code Geeks) that I like to browse for the latest Java news. These sites are great and bring the best from around the web from the wider Java community. A nice compleme… Continue reading

Posted in Java (General), Java SE 6, Java SE 7, Java SE 8, JavaFX, Syndicated | Comments Off on A Plethora of Java Developments in February 2012

Generating XML Schema with schemagen and Groovy

I have previously blogged on several utilitarian tools that are provided with the Java SE 6 HotSpot SDK such as jstack, javap, and so forth. I focus on another tool in the same $JAVA_HOME/bin (or %JAVA_HOME%\bin directory: schemagen. Although schemagen… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated, XML | Comments Off on Generating XML Schema with schemagen and Groovy

Groovy, JMX, and the Attach API

One of the exciting new features of the (then Sun) HotSpot Java SE 6 release was support for the Attach API. The Attach API is “a Sun Microsystems extension that provides a mechanism to attach to a Java virtual machine.” Tools such as JConsole and Visu… Continue reading

Posted in Groovy, Java SE 6, JMX, Syndicated | Comments Off on Groovy, JMX, and the Attach API

HotSpot JVM Options Displayed: -XX:+PrintFlagsInitial and -XX:+PrintFlagsFinal

Inspecting HotSpot JVM Options is a great post for those wishing to understand better the options provided by Oracle’s (formerly Sun’s) HotSpot Java Virtual Machine. In this thorough post, Zahid Qureshi discusses how to use the option -XX:+PrintFlagsFi… Continue reading

Posted in Java (General), Java SE 6, Syndicated | Comments Off on HotSpot JVM Options Displayed: -XX:+PrintFlagsInitial and -XX:+PrintFlagsFinal

Reproducing “too many constants” Problem in Java

In my previous blog post, I blogged on the “code too large” problem and reproduced that error message. In this post, I look at the very similar “too many constants” error message (not the same thing as the question too many constants?) and demonstrate… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated | Comments Off on Reproducing “too many constants” Problem in Java

Reproducing “code too large” Problem in Java

Code conventions and standard software development wisdom dictate that methods should not be too long because they become difficult to fully comprehend, they lose readability when they get too long, they are difficult to appropriately unit test, and t… Continue reading

Posted in Groovy, Java (General), Java SE 6, Syndicated | Comments Off on Reproducing “code too large” Problem in Java

Firefox 3.6 Requires Java SE 6 Update 10

Java SE 6 Update 10 was a significant release despite its version numbering indicating a minor release. Among other advancements, Java SE 6 Update 10 introduced the Next-Generation Java Plug-in for a better Java applet experience. It has now been ann… Continue reading

Posted in firefox, Java SE 6, Syndicated | Comments Off on Firefox 3.6 Requires Java SE 6 Update 10

Java SourceVersion and Character

The SourceVersion class provides information on Java source versions and can provide some interesting details, including demonstration of terminology covered in the Java Language Specification. In this blog posting, I look briefly at some of the more … Continue reading

Posted in Java (General), Java SE 6, Syndicated | Comments Off on Java SourceVersion and Character