java-6
Is there a way to do a live heap dump with ibm-jdk for linux?
I know that it\'s possible to dump heap when an OutOfMemoryException is occuring on t开发者_开发百科his JVM but is it possible to ask a live dump with tools like jmap or jconsole?You need to be aware[详细]
2023-01-29 15:31 分类:问答Is it possible to read the value of a annotation in java?
this is my code: @Column(columnName=\"firstname\") private String firstName; @Colu开发者_StackOverflowmn(columnName=\"lastname\")[详细]
2023-01-27 20:25 分类:问答Problem overriding ArrayList add method
I have a class that is extending Java\'s ArrayList. I\'m currently using Java build 1.6.0_22-b04.Looks like this:[详细]
2023-01-25 03:46 分类:问答How can I suppress the creation of the hs_err_pid file?
We are running a java application under java 1.6.0_13. When it crashes it creates the normal hs_err_pid file. I don\'t want this file created even if the application crashes. Is there a way on the jav[详细]
2023-01-24 16:58 分类:问答Invoking EJB on 1.6 from client on 1.5
I have a Glassfish v3 server running a set of EJBs (under java 1.6 obviously). I have another machine on top of which I have ahost java 1.5 - none J2EE - process (i can\'t change that).[详细]
2023-01-23 18:16 分类:问答Rounding Half Up with Decimal Format in Android
I want to set the Rounding Mode to HALF_UP on my DecimalFormat, but eclipse is telling me that setRoundingMode() is not available on the DecimalFormat class. My project properties (and the overall Ecl[详细]
2023-01-22 18:35 分类:问答Problem parsing unicode escape in a Java 6 String literal...?
Why does this compile in java 6 (Sun 1.6.0_16): System.out.println(\"\\u000B\"); ... but not this: System.out.println(\"\\u000A\");[详细]
2023-01-22 07:45 分类:问答@Override Snafu
i\'ve create a project/class file in Eclipse Helios using JDK1.6. I had let the eclipse to generate the code for the implementation class of an Interface.[详细]
2023-01-17 16:45 分类:问答Detecting non-1.5 Java code while developing on a mac under 1.6
I use a mac (and therefore java 1.6) to develop a cross-platform application that is released in Java 1.5.I\'ve discovered that Eclipse can enforce 1.5 compliance, and that has saved me from publishin[详细]
2023-01-17 13:16 分类:问答Java6 XML binding integration in Maven
When developing with Java6, is there any Maven plugin for compiling an XML schema into the associated Java classes from Mave开发者_StackOverflow中文版n?Try the maven-jaxb2-plugin.[详细]
2023-01-17 04:03 分类:问答