Questions tagged [jdk6]

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

JDK or Java Development Kit is a set of tools that Oracle, formerly Sun Microsystems, provides for developing Java applications.

58 questions
0
votes
1 answer

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 attribute?
0
votes
1 answer

how to know which file is being invoked on accessing website in tomcat

I am currently running my applications on Tomcat 7u59 with JDK6. My developers are requesting me to deploy there class files in the production environment while I am asking them to test on the testing environment. They are getting it tested but I am…
Shashikanth Komandoor
  • 781
  • 1
  • 11
  • 29
0
votes
2 answers

Sonarqube 4.5.1 compatibility with jdk 6

I am running a build with sonarqube 4.5.1 and JDK 6. I am getting this following error: [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.6:sonar (default-cli) on project test-util: The plugin java is not supported with Java…
0
votes
1 answer

Copying a file from client to server both on same machine in java?

I am copying a large file 300 MB from client to server. I have both the client and server (weblogic) setup locally and still the transfer is too slow. Is there anyway to speed it up only when I have the server on same machine as the client? Here is…
Wael
  • 1,533
  • 4
  • 20
  • 35
0
votes
2 answers

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 Oracle acquisition. So I went to the Oracle website…
Elena
  • 77
  • 2
  • 9
0
votes
2 answers

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 surprised to see this code not work: ProcessBuilder x =…
kevinarpe
  • 20,319
  • 26
  • 127
  • 154
0
votes
1 answer

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 "org.mybatis:mybatis-spring:1.2.0" //compile…
Dan MacBean
  • 1,915
  • 3
  • 15
  • 21
0
votes
1 answer

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(){ StopWatch sw = new StopWatch(); sw.start(); long…
seiya
  • 1,477
  • 3
  • 17
  • 26
-1
votes
1 answer

JDK path in OSX Yosemite

I have downloaded JDK 6 from the following link:https://support.apple.com/kb/DL1572. I installed the jdk succesfully. I would like to know the path that this jdk was installed. Can anyone help me on this?
-1
votes
2 answers

Reading default JVM property using program

I am trying to read current entity expansionDjdk.xml.entityExpansionLimit limit, but it is giving null. I tried the following…
Arvind
  • 1,207
  • 6
  • 27
  • 55
-2
votes
2 answers

Comparison between jdk1.6 and jdk1.8 code with Example

I would like to understand how jdk1.8 code is, as compared to code of jdk1.6 Can anyone provide an example, or a link?? Thanks I want to see a comparison between code written in java6 and cod written in java8, to understand the features of java8 and…
N V
  • 122
  • 1
  • 2
  • 12
-2
votes
1 answer

How to get a version of sonarqube for use with JDK6

I need to get a version of Sonarqube ( or Sonar ) that works with Java 6, but I can´t find to download. Someone can indicate where I can find it ? I´ve searched on Sonarqube site, but nothing. PS: It´s because my company still using Java 6. A…
-4
votes
1 answer

HTTP Status 404 in SSH+MVC web application

Here is my configration: Tomcat 6
jdk1.6
MyEclipse Win 7 HTTP Status 404 - type Status report I have a Dynamic Web Project set up in MyEclipse titled "ch21" with following structure. The web application works well local.But when I…
L. Linda
  • 1
  • 3
1 2 3
4