For issues relating to setting up or using the Java Development Kit (JDK), version 6.

learn more… | top users | synonyms

1
vote
0answers
4 views

Unsupported Class Version during Maven build in Jenkins

I've seen a few of these questions on here, but none of the solutions/tips seem to be pointing me in the right direction. So I have 3 JDK's installed in the locations of "/opt/java/6", "/opt/java/7", ...
1
vote
0answers
27 views

From a security standpoint, it is ok to build target an application to java 1.6, but using 1.7 and deploy to run on the jre7?

My question has sort of been answered, however I was wondering if there was any specific Oracle documentation confirming that this is not a problem. related stackoverflow threads: Security issues of ...
0
votes
0answers
25 views

jax-ws tomcat and the old source code uses jdk 1.5 not 1.6

I downloaded jdk 1.6 because I was told by one resouce that the old source code project uses jdk 1.6. I created a web service using jax-ws and tested it without running it on Tomcat (which is v 5.5 ...
0
votes
0answers
322 views

windows 8 + Jdk 6 + Apache Tomcat7

I have project running on Windows 7 ,jdk6 and Apache tomcat7 and eclipse juno. Now I have to move it to the windows8. In windows8, I have downloaded the jdk1.6.0_35 for 64-bit windows,Apche-tomcat7 ...
0
votes
1answer
490 views

Gradle and IntelliJ with mixed Java/Scala project and SDK 1.6

I am getting started with Gradle on a polyglot java/scala project. The java modules are legacy modules built using JDK 1.6 so I decided to have my build environment use the older JDK. This has a very ...
12
votes
3answers
8k views

Does Android support JDK 6 or 7

I am new to Android development. Can I use my existing Java code developed using JDK 7 in Android? The functions use xerces dom and xslt and xpathapi. Currently when I installed Android Eclipse ADT ...
0
votes
0answers
114 views

Kerberos authentication in java

Being a client, can any one let me know how to start with Kerberos authentication? 1) I need to use client application which is developed in Swing. 2) This swing application would need to invoke a ...
0
votes
0answers
171 views

Source code for jsse.jar (Oracle jdk1.6.0_20)

Simple question - where to find jsse.jar source (Oracle jdk1.6.0_20) ? I tried to use OpenJDK source but some classes (e.g., SunX509KeyManagerImpl) are located in different packages than in Oracle ...
0
votes
2answers
106 views

Error Installing Sun JDK 6

I am trying to install the SUN JDK 6 on my VM running Ubuntu 11.10 64-bit Desktop. "sudo apt-get install sun-java6-jdk" won't work because Sun JDK 6 is no longer available via apt-get since the ...
0
votes
1answer
220 views

How to use different java versions for different programs?

This may be common in web but may be I am not getting what to search exactly. Actually I am having different versions of java on my ubuntu server having java 1.5 as default. One of my program need ...
1
vote
2answers
227 views

Dexifying a jar file compiled by JDK 6 gives “bad class file magic” error

I am tryig to dexify a jar file using the following command: dx --dex --output=classes.dex JAR_file.jar This gives me the following errors: trouble processing: bad class file magic ...
2
votes
1answer
783 views

ant xjc task to work with jdk 6

I am using xjc ant task to generate java classes from xsd and wsdl and then i am generating a jar out of these generated classes. PFB the code i am using, <!-- Below code generates java ...
0
votes
2answers
47 views

Why doesn't class ProcessBuilder override equals()?

I recently discovered that class ProcessBuilder in JDK6 does not override equals(). Is there a reason? Since the class is mutable, I can understand why it does not override hashCode(). I was ...
0
votes
1answer
313 views

MyBatis upgrade causes build error

In an existing project I build with Gradle (Windows 7, Java 1.7.0.15) I have upgraded the Mybatis libraries as follows: // MyBatis compile "org.mybatis:mybatis:3.2.1" compile ...
0
votes
0answers
1k views

android apk published error “Package was not signed correctly” jdk 6

I received error "Package was not signed correctly" I had JDK 7 installed ,after such problem I installed JDK 6 ,but now I have the same problem "Package was not signed correctly" and I checked all ...
0
votes
0answers
5k views

Retrieving data from oracle database using servlet

I have created a servlet with database-access(oracle) to display the employee details on web page. I am able to see html lines preceding the connection but not able to see the data that i have ...
0
votes
1answer
474 views

Same test get different result with jdk6 and jdk7

I am running into this weird issue when trying to compare the performance of data type 'int' and 'long', basically I have two unit tests: @Test public void testLongOperationPerformance(){ ...
4
votes
1answer
4k views

Using transparent window in both Java 6 and Java 7

I'm developing application in Java 6 (1.6.0_24) which using transparent JFrame to get disappearing animation. Here is my code: public static void slowDisappearWindowAction(Window source, int ...
1
vote
0answers
545 views

why java.nio.charset.Charsets compile error?

in my class UriCodec.java,but when i use javac(jdk6) compile this class error. for example: javac UriCodec.java java code: import java.io.ByteArrayOutputStream; import java.net.URISyntaxException; ...
2
votes
2answers
4k views

JDK6: when to use bundled JAX-WS implementation versus Project Metro

JAX-WS implementation bundled with JDK6 can be used to provide a web services server without any additional libraries. JVM will start with a WS server on a specified port. ...
0
votes
1answer
183 views

What versions of eclipse and apache tomcat should I use with jdk-6u30?

I am configuring the env on Vista. I have jdk-6u30 and eclipse-jee-indigo-SR1-win32 installed on the system. Please suggest what tomcat version would be compatible? I tried installing ...
0
votes
1answer
619 views

Eclipse: Howto organize JDK or JRE (JDK6 or JDK7) dependent sources?

Maybe I only missed the right keywords / concept how to describe my problem. Scope: I'm used to build my project with JDK6 and JDK7 within Eclipse Indigo For a specific library I have to use two ...
4
votes
3answers
2k views

JDK6 libraries - compatibility with JDK7

Is JDK7 backward compatible with JDK 6? Specifically, if I have some jars compiled using JDK6, will I able to use them while developing in JDK7?
0
votes
2answers
1k views

Weblogic server 32-bit on 64 bit linux box

I have Weblogic server setup 32-bit(wls1033_linux32.bin) and jdk6 64-bit(jdk-6u24-linux-x64.bin).... can i install and run successfully on a 64-bit Linux machine? Please give me the break up of what ...
0
votes
1answer
98 views

How do I modify an html link attribute when the html is loaded into a jEditPane? JDK6

I understand how to get the attribute with: public void hyperlinkUpdate(HyperlinkEvent e) { e.getSourceElement().getAttributes().getAttribute(HTML.Attribute.COLOR); How do I change that ...
2
votes
3answers
7k views

Web Service Client in JBOSS 5.1 with JDK6

This is a continuation of the question here: http://stackoverflow.com/questions/2435286/jboss-does-app-have-to-be-compiled-under-same-jdk-as-jboss-is-running-under It's different enough though that ...
14
votes
6answers
14k views

How to tell why a file deletion fails in Java?

File file = new File(path); if (!file.delete()) { throw new IOException( "Failed to delete the file because: " + getReasonForFileDeletionFailureInPlainEnglish(file)); } Is there ...