Questions tagged [java-6]

Java SE version 6 was released in December 2006. Use this tag for questions specific to this version of Java.

Java SE 6 was an evolutionary change over the previous version. It did not include extensive language or JVM changes, however such changes were planned for Java SE 7 which was supposed to be released much sooner. (See here for what changed in Java 6).

As a stop-gap to the much delayed Java 7, Sun (since purchased by Oracle) introduced Java SE 6 Update 10, which despite its modest version numbering, represented extensive improvements to the GUI capabilities of Java in order to support JavaFX and Sun's renewed attempt to make Java successful in the GUI arena.

Internally, Java is numbered with a "1." before the number, so it will report itself as "1.6.0_" with an update number at the end. Starting with version 6, Sun dropped the ".0" from its marketed version number, so instead of 5.0 as previously done, it was Java 6.

Only use this tag if your question is specifically related to features of this version. Just because you are using this version, doesn't mean you need this tag. Use in addition to or instead of this tag.

See for more information.

1391 questions
0
votes
1 answer

Java applet logging

I'm not a Java developer so please remain calm if I write something incorrect. I have a binary distributed Java applet which I decoded into quite readable source. My goal it to analyse activities of the applet. I see that the applet uses a lot of…
Maksym Polshcha
  • 18,030
  • 8
  • 52
  • 77
0
votes
1 answer

How to make xsd files available for a web service client?

I'm developing a new web service at my company. We have a POJO application server communicating with the wxternal clients through CORBA and RMI. Just to make things easier for myself I decided to test a possibility to expose the web service without…
ioikka
  • 189
  • 2
  • 11
0
votes
3 answers

java returning "NoClassDefFound" error; thinks -jar option is a runnable class

java -jar Results in my 1.6 jvm returning a NoClassDefFound error for 'jar'. Why isn't it recognising -jar as an option and not a class to run? jar structure: The manifest points Main-Class at…
user1561108
  • 2,666
  • 9
  • 44
  • 69
0
votes
1 answer

Programing with Eclipse for Java 6 and 7

How to setup Eclipse executions environments and projects to be developed for both JAVA 6 and JAVA 7 JREs? I'm asking this because not all programs that are developed to run over JAVA 6 will run in JAVA 7. In this situation for example: I need to…
Jose Renato
  • 705
  • 5
  • 18
0
votes
2 answers

java.lang.NoClassDefFoundError: - wrong name:

Am trying to Run a Java Application, where the Error thrown is 5 18:38:06,271 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: com/lucene/search/LuceneSearchModule (wrong name: com/util/search/LuceneSearchModule) 2013-05-05 18:38:06,271…
user2104391
  • 413
  • 4
  • 9
  • 18
0
votes
1 answer

Prepending an image to the top of another image

I've been looking for a solution for the last several days. I've seen an example of composite images with Java Advanced Imaging. But that seems to be restricted by the smallest width and height of either image files. So it outputs a file with the…
Aggieborn
  • 312
  • 2
  • 8
0
votes
1 answer

filter-name element is missing in generated web.xml

One of our old applications uses Struts-1.2 and EJB-2, generated with xdoclet 1.2.3. Maven 1 is used to build the application using java 1.4. The application has been running in weblogic 8.1 without any issues. Now we are upgrading to Weblogic…
neo108
  • 5,156
  • 3
  • 27
  • 41
0
votes
2 answers

How to mark Hibernate bean property as @Transient on Java 6?

I have an application that I am being forced to host on a provider that only runs JRE 6. I get a compilation error on my Hibernate beans that have properties that have been annotated with @Transient. The compilation error is due to the fact that…
maple_shaft
  • 10,435
  • 6
  • 46
  • 74
0
votes
1 answer

Need to install Java 6 for Mac to compile Android source code

I am trying to setup Android build environment for my Mac 10.8.3 I dont understand, Apple provide instructions on how to revert mac back to Java 1.6 here : http://support.apple.com/kb/HT5559?viewlocale=en_US&locale=en_US They are clear instructions…
drlobo
  • 2,139
  • 5
  • 32
  • 42
0
votes
1 answer

How to compile Java Enum in Maven?

Most recently I am working with maven 3.x, Eclipse Juno JavaEE IDE with JDK 1.6.0_26. Some where in my project I used enum both inside and outside of a class. When I run clean build it appear an error [ERROR] found :…
Śhāhēēd
  • 1,812
  • 6
  • 23
  • 44
0
votes
3 answers

How can I create a netbeans 7.3 project wrapping the jedit source code?

I thought this is an easy question because there's already a wiki topic about this here especially this section. however the wiki is out of date. A prior question exists here on Stackoverflow that only has a reference to these now out of date wiki…
Warren P
  • 65,725
  • 40
  • 181
  • 316
0
votes
0 answers

incompatible types (generics)

I'm getting incompatible types; inferred type argument(s) java.lang.Object do not conform to bounds of type variable(s) T [ERROR] found : int [ERROR] required: int [ERROR] -> [Help 1] for my method private > int…
Betlista
  • 10,327
  • 13
  • 69
  • 110
0
votes
1 answer

Jconsole randomly stops connecting

We have a jboss 7 instance running and hosting a web application. JMX remote has been turned on with username/password authentication and we are able to connect to it fine. Kindly not we are using Jboss/bin/jconsole.bat to connect. However at times…
Soumya
  • 1,054
  • 2
  • 16
  • 31
0
votes
1 answer

java embedded OS X Applications VS System installed Java

If a Mac OS X computer have instaled Java ( 6 - 7 - Both ??? ) & an Application (from AppStore) has Java ( 6 - 7 Which ??? ) embedded, Will the system used the Systemwide installed or the embedded Java ? Why i ask, say i have 10 apps with embedded…
0
votes
1 answer

version pointing to old version even after updating JDK

I updated my JDK from 1.3 to 1.6 and checked the version using command java -version in command prompt after updating the environmental variable entry for JAVA_HOME to 1.6 and also I have included the jre-bin path to PATH variable, unfortunately…
DSP
  • 1
  • 4