Tag Archives: Java

Metro up Java

Microsoft’s Metro environment is a bit of a closed environment for the Open Source language vendor, so although you can code Metro applications in C/C++, C#, HTML/JavaScript/CSS on both Intel and ARM chipsets the choice of other languages are non-existent. … Continue reading

Posted in Java, Metro, Windows8 | Tagged , , , , , , , | Comments Off on Metro up Java

Using sun.jvmstat.monitor to see active Java processes

Monitor’ing Java processes can be achieved using the jvmstat monitor classes provided in the JVM. The documentation is a bit sketchy but with a little experimenting it can be done. Below is a little example that shows you how to … Continue reading

Posted in Java, JVM | Tagged , , | Comments Off on Using sun.jvmstat.monitor to see active Java processes

Java process id via java.lang.management

While working on a project recently I need to find out the current process of the active running Java process (for tracing/auditing), however I never found a 100% perfect solution but did come across an acceptable solution to use the … Continue reading

Posted in Java, JVM, Tips | Tagged , , | Comments Off on Java process id via java.lang.management

Fiddling with the JVM

Java is a very safe language if used in a normal way, however just like the CLR it can be used in an unsafe manor. The main reason for using Java in a unsafe manor is performance, some unsafe operations … Continue reading

Posted in Java, JVM, Tips | Tagged , , , | Comments Off on Fiddling with the JVM

Object COBOL/Java default exception handler

While working on some support recently for our compiler (Micro Focus COBOL compiler that is), I became annoyed with the lack of a reasonable error messages/stack trace output from our Java/COBOL Object support. I have no idea why our default … Continue reading

Posted in COBOL, Java, Tips | Tagged , , | Comments Off on Object COBOL/Java default exception handler