java-6
@Override compile error, implementing an interface (eclipse jdk1.6.0_23 linux)
I 开发者_StackOverflowam getting compile errors in eclipse when using the @Override annotation for a class that is implementing an interface.[详细]
2023-02-10 16:05 分类:问答Can I specify the JDK path to compile against within an Ant build.xml?
I would like to use JDK 1.6 for a branch of a project while others keep using JDK 1.5. Developers want to occasionally switch between those.[详细]
2023-02-10 10:28 分类:问答How to crop a polygon from BufferedImage
How to crop a polygon shaped portion of BufferedImage and write it to anot开发者_运维技巧her BufferedImage? Graphics2D has clip(Shape) and draw(Shape) methods. So I would guess you can set the Shape t[详细]
2023-02-10 05:54 分类:问答Setting up Eclipse and Java JDK
I\'ve been attempting to install and set up the Java JDK 1.6 and Eclipse (helios) on Windows 7. I have downloaded the 32 bit of each, as the 64 bit Eclipse version didn\'t want to work.[详细]
2023-02-05 22:28 分类:问答How does JDK 6 regexp compare with org.apache.regexp?
I\'开发者_开发问答m interested in benchmarks and functionality? Is there are any reason to use Jakarta regexp?It seems that there is no reasons for that. But there are some other interesting libraries[详细]
2023-02-05 07:14 分类:问答JDK 1.6 compiled code call a JDK 1.5 compiled code. what errors will we see?
If a class compiled with JDK 1.6 calls another class compiled with JDK 1.5, what kind of errors will we see?[详细]
2023-02-04 06:08 分类:问答System.exit(1) exists with return code 0 in multithreaded program
I have a call to System.exit(1) in my multi-threaded program. However from time to time instead of return code 1, the program exits with return code 0. I don\'t have any other calls System.exit() and[详细]
2023-02-03 13:56 分类:问答Spring3, JAXB2, Java6, NamespacePrefixMapper questions
I built a simple Spring3, Hibernate3/(JPA2), RESTful service, hosted on Tomcat6, that uses JAXB2 to marshal the results.(It uses annotated pojos.) I needed to use specific namespace prefixes, so I wro[详细]
2023-02-02 18:17 分类:问答Which JDK for Android Development on Ubuntu 10.04 64-bit?
Ubuntu 10.04 64-bit looks promising as a development environment for Android. I now have it up and running but I am stuck at the following decision point:[详细]
2023-02-02 05:15 分类:问答Apt task with Java 1.6?
I have some automatically generated Ant build scripts that I need to use to build an application. I am using Ant 1.8.1 and Java 1.6. The scripts use the Apt Ant task, which according to the task refer[详细]
2023-02-02 04:01 分类:问答