Tagged Questions

Oracle has two products that implement Java Platform Standard Edition (Java SE) 7: Java SE Development Kit (JDK) 7 and Java SE Runtime Environment (JRE) 7. JDK 7 is a superset of JRE 7, and contains everything that is in JRE 7, plus tools such as the compilers and debuggers necessary for developing ...

learn more… | top users | synonyms (3)

0
votes
0answers
22 views

XSLT extensions in Java7 Update4 broken?

the Java application FreeMind uses XSLT to update from old files. The XSLT uses a static java function to simplify string operations. This works fine up to Java 7 update 2 and gives the following ...
7
votes
1answer
62 views

@InjectMocks behaving differently with Java 6 and 7

With a very simple Mockito run JUnit test and class I am seeing different output when the test is run with Java 1.6.0_32 and Java 1.7.0_04 and want to understand why this is happening. I suspect there ...
1
vote
0answers
7 views

How many newWatchService can I create in Java 7?

I have a question. How many newWatchService can I make ? try{ for(Path path : PathList) { watcher = path.getFileSystem().newWatchService(); } catch (IOException e) { ...
5
votes
3answers
98 views

Compiler change in Java 7

In Java 6 I was able to use: public static <T, UK extends T, US extends T> T getCountrySpecificComponent(UK uk, US us) { Country country = CountryContext.getCountry(); if (country == ...
2
votes
2answers
50 views

How to get IBM Java 7 for Windows?

IBM has its own JVM called J9. Linux versions can be downloaded from DeveloperWorks, but not the Windows versions (except for one requiring IBM hardware). This is most likely a licensing issue. We ...
0
votes
0answers
34 views

ClassNotFoundException marshaling EJB parameters on JBoss7

I am making a project with distributed architectures, but I am having problem in returning a java.util.Collection to the client application. I am calling an EJB in a Managed Bean to bring a ...
2
votes
1answer
49 views

JPA EntityManagerFactory with persistence.xml and Properties Map

Can I pass some properties to an EntityManagerFactory by code, while still maintaining persistence.xml as the main configuration source? Using createEntityManager's overload with a Map appears to ...
0
votes
0answers
50 views

Editable JavaFX TextArea appears read-only

On my standalone JavaFX stage there is a TextArea, specified in FXML, which seems always disabled. But there is a little clickable area with edit cursor in the top-left corner, about one letter tall ...
7
votes
1answer
202 views

Java 7: COM-API does not work with Quality Center (OTAClient.dll), but works with Java 6

We are running on Windows 7 Enterprise, SP1, 64bit. We just installed Java 7 on all our machines, which causes the following problem: When my program tries to communicate with the ...
0
votes
0answers
21 views

Why StAX classes were not retrofitted for ARM in Java 7

I expected to find XMLStreamReader to be AutoCloseable in Java 7. However, that is not the case. Is there a technical reason why StAX reader/writer interfaces were not (or should not be) retrofitted ...
0
votes
0answers
18 views

What is the best practice for using walkFileTree with multiple visitors?

With Java 7 it's now very easy to walk through a file tree doing stuff. In my example i want to do two different things: a) collect all image files in that directory (for startup) b) implement a ...
0
votes
2answers
64 views

How to read files recursively in Java 7?

I know of the Apache Commons IO library for file directory processing in Java. However, List all files from a directory recursively with Java talks about native support in Java 7. Does anyone have ...
9
votes
2answers
127 views

JDK 1.7: “Too many open files” due to POSIX Semaphores?

I've looked through the other similar questions on SO, but they seem to be caused by other issues. First I made sure I judiciously closed all of my file handles, and then I used lsof -p <pid of ...
0
votes
1answer
70 views

Java version compatibility when working with different api in different version for same task

i wrote a applet for screen Capture for jre 1.7, jre 1.6 and jre 1.5. The applet has to use transparent background for it's window. But for translucency jre 1.7(graphicDevice window Translucency) and ...
0
votes
0answers
29 views

keyboard vs menu conflict on Java 7, Mac OS

How can I get a Java 7 application to have its menu bar at the top of the screen (on a Mac) and also have correctly working keyboard shortcuts? I have a Java application with a Swing user interface. ...

1 2 3 4 5 20
15 30 50 per page