Is it possible to suppress warnings in Eclipse for JDK1.4 project?
EDIT:
Longer version. There is a project which requires JDK1.4 (no annotations). Only way of suppressing warnings I know is using annotation @SuppressWarnings - no can do in JDK1.4. Is there any way to remove some warning notifications in some specific method/class (not ...
I am trying to add a "title" element but am getting a NO_MODIFICATION_ALLOWED_ERR error...
private static void saveDoc(String f) throws Exception
{
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
DocumentBuilder db = dbf.newDocumentBuilder();
Document doc = db.parse(f);
...
I'm interested in using VisualVM (running on a JDK 1.6 environment) to monitor and troubleshoot some issues with an application deployed and running on JDK 1.4 (and Tomcat 5.0).
Basically, the app is hanging periodically and I am interested in seeing if I can monitor it to help find out where.
The homepage for VisualVM mentions that it...
I need to set up a legacy app that uses Tomcat 4 and runs using the 1.4 JDK.
I tried to install the linux JDK 1.4 from the sun download site on Ubuntu 9.04 but it wouldnt install.
Is it possible to install JDK 1.4 on the 64 bit version of Ubuntu?
When I try and install the j2sdk-1_4_2_19-linux-ia64.bin version i get the following erro...
I primarily use JDeveloper 10 with JDK 1.4.2 on Vista. I would like to install Eclipse and have it run the latest JDK 6.
Is this possible without conflict?
Ideally I would like to just use JDeveloper and switch back/forth between JDK versions. Is this possible?
...
This problem has been bothering me for days. Hopefully someone has come across this before and has developed a workaround.
So I've developed a middleware Java app which during its execution invokes a SOAP action. Now, the behavior of this bit of code under the 1.6 JDK is working well:
// inside a try-catch block
SOAPCon...
Our desktop-only product at work has been using JDK 1.4.2 until now (also 1.4.2 JRE shipped with product). I am trying to convince the management to let us upgrade to a newer version in order to get the performance, API/features and developer comfort benefits.
Since 1.5 has reached EOL transition, I'm I thinking of the upgrade to 1.6.0...
Howdy,
We are trying to program an MFP (Multi-function-printer) to communicate to our backend using Web Services. We are sending large images so using MTOM is important. Since we are dealing with a very constrained environment I would rather not use Axis. Does anyone know of another smaller WS library that will work with JDK1.4, or wou...
How can I run a task daily at a specified time (say 11:00 am) using java.util.Timer? I'm using JDK 1.4.2, I know it's old, but it's what the project requires.
...
I have the following XML cross cutting definition in my context:
<bean name="/Details.htm" class="com.DetailServlet">
<property name="myPerfLogger" ref="perfLogger"></property>
</bean>
<bean id="perfLogger" class="com.PerformanceLogger"/>
<bean id="methodLogger" class="com.MethodLogger"/>
<aop:config>
<aop:pointcut i...
Which data type is apt to represent a decimal number like "10364055.81".
If tried using double:
double d = 10364055.81;
But when I try to print the number, its displaying as "1.036405581E7", which I don't want.
Should I use BigDecimal? But its displaying as 10364055.81000000052154064178466796875.
Is there any datatype that displays ...
I would have thought that this would be an easy thing to do, but no amount of googling around has turned up any solutions.
I have written an application for a client that runs in full screen and allows the user to page through educational books in order to help teach kids to read. So far so good. Some phrases from the displayed material...
Is there any external library out there that has the same function with java.net.IDN (which only available in jdk6) for jdk1.4?
...
From where can I download Sun JDK 1.4.2 for Windows. I have checked Sun's website and since they have stopped the support to this version it is no longer available for download.
...
String format = "yyyyMMdd";
SimpleDateFormat formatter = getSimpleDateFormat(format);
formatter.setLenient(false);
Date date = formatter.parse("07312011",new ParsePosition(0));
System.out.println(date);
This gives "2500-01-01 00:00:00" on jdk1.4 which is incorrect and returns null on jdk1.5
Why does this give "2500-01-01 00:00:00" on...
Hi! I'll looking about mocking of constructor calls in tested method. Something like http://code.google.com/p/powermock/wiki/MockConstructor
The problem is that I'm working under JDK 1.4 (this is requirement of customer). I tried to use Retrotranslator for PowerMock, but it seems that I can do nothing about required use of annotations @...
Is there a way to add sun one application server 7 to eclipse IDE. Its for maintaining an enterprise application project. The jdk is also 1.4 used for the application.
...
I'm migrating my apps from WebSphere to JBoss. I would like to know if JBoss 4.2.3 GA supports JDK 1.4.2.
Many thanks in advance.
...
My project is build in 1.4.2 JDK.
Now it is going to interact with a third party jar, build in JDK 1.6
I am getting compatibility problem while using client classes.
Is it possible to resolve it without upgrading my JDK to 1.6 or rebuilding third party jar in 1.4.2
...
According to this documentation http://tomcat.apache.org/tomcat-5.5-doc/monitoring.html#Enabling_JMX_Remote it should be possible to remotely Monitor a Tomcat 5.5 Server running on a JDK 1.4 but after searching all over the web and trying multiple OSs I still am no further than on day one.
My results thus far are. Settign up Tomcat with...