Questions tagged [jdk1.5]
For questions relating to using the Java Development Kit (JDK), version 1.5.
155
questions
2
votes
2
answers
703
views
Cannot Attach to JVM using jdk 1.5
I have a java application that must run with jdk 1.5. I need a way to attach to this application JVM using its PID.
I tried ByteBuddy library but it is giving me the following error when trying to ...
-3
votes
2
answers
2k
views
Migration of Java Application from 1.5 to 1.8 [closed]
We are working in the project of migrating a application(built in java 5)
to java 8 for better performance,
But , we are not sure that
1. upgrade an environment or
2.Build that complete app in java 8 ...
0
votes
0
answers
49
views
I can't create or download a system on AVD manager(Android studio
I installed android studio, I wanted to create a virtual device but I I got this error message "Installation did not complete successfully. See the IDE log for details" how can I fix this pls? android-...
0
votes
0
answers
166
views
Rest service with jdk5
I am trying a JSON Rest service using jersey 1.18.
I am stuck up with jdk5.
Could please help with the Jersey jar version compatible with jdk5.
Or an example For rest service with jdk5?
0
votes
1
answer
794
views
How to find OC4J server jdk version?
I'm facing problem with deploying web application into OC4j 10.1.3 server and getting error with "java wrong version 50.0 should be 49.0".
I know that, this is because of jdk version clashing which ...
10
votes
3
answers
6k
views
Extracting information from a a java core dump with jmap(1.5)
Long story short, some coworkers are running a pretty old setup(oc4j jdk1.5.6 in x86_64) with an application which happens to be mission critical. They recently have tried to deploy a new version of ...
14
votes
2
answers
95k
views
Invalid maximum heap size
I have copied a jdk directory from another location. Since then, I get the following error message.
Your environment has been set.
java version "1.5.0_22"
Java(TM) 2 Runtime Environment, Standard ...
0
votes
0
answers
248
views
Does com.sun.tools.attach.VirtualMachine API works in JRE 1.5?
I wants to attach with virtual machine with below way.
VirtualMachine localVirtualMachine = VirtualMachine.attach(PID);
localVirtualMachine.loadAgent(agentName);
...
3
votes
2
answers
2k
views
@Override annotation on implemented method of interface in Java 5 code doesn't give a compilation error
I have a legacy Java 5 project that will still be maintained until at least 31 December 2017.
My default system JDK is 1.8.
JDK 1.5 is also installed, as described in Install Java 5 in Ubuntu 12.04 ...
2
votes
0
answers
755
views
Java Version upgrade for existing project from 1.5 to 1.7
How do I upgrade an existing project running on JDK 1.5 to JDK 1.7? What type of compatibility issues I might have and how do I proceed, I'm blank on this.
0
votes
1
answer
3k
views
Can not Start Java RMI Server and Client
I am new for Java RMI. I tried to start simple basic example java RMI with eclipse. But I cannot start Server and Client code. please help me to solve this problem.
Server Code:
MyServer.java
...
1
vote
3
answers
3k
views
change compile version of existing jar file in java
I have bccapi-1.2.0.jar file which i want to run on linux server but it could not run because of its compile version.
Compile version of jar file is jdk1.7 which i downloaded from URL: http://www....
-1
votes
4
answers
96
views
how to command line result save into textfile
i have following code i want command line result save in my textfile also how do this. please help
@echo off
set JAVA_HOME=C:\jdk1.5.0_05
set CLI_HOME=c:\projects\utds\applications\cli
set CLI_LIB=%...
3
votes
2
answers
849
views
Template design pattern in JDK, could not find a method defining set of methods to be executed in order
I am reading about Template design pattern. As per my current understanding, Template design pattern can be used when we have an algorithm with defined set of processes(methods) to be done in order.
...
0
votes
2
answers
2k
views
JDK 1.5 SSLHandshakeException
I have strange problem, that I could not fixed.
I have JDK 1.5 version and SSL based communication via sockets, simply send and receive string data.
try {
KeyStore ks = KeyStore.getInstance("...
2
votes
1
answer
121
views
Enabling JDK 1.5 on JBoss
I am designing a web app, I am using JBoss 4.0.5 and have recently came across the need of enabling the use of JDK 1.5 features on JSP pages. I only need it for one of my JSP pages. I know how to ...
0
votes
1
answer
890
views
Is there non-weblogic alternative to weblogic.utils.encoders.BASE64Decoder and BASE64Encoder?
Trying to port some applications from WebLogic to Tomcat (or maybe JBoss). Some of this code has the following import statements:
import weblogic.utils.encoders.BASE64Decoder;
import weblogic.utils....
0
votes
2
answers
460
views
Isn't PDFBOX2.0 supported JDK 1.5?
I want to use PDFBOX 2.0 in JDK 1.5 environment.
I might read that PDFBOX is supported in JDK 1.5 environment.
In JDK 1.5, I have done test. but it is unsupported.
So I want to know weather PDFBOX ...
1
vote
2
answers
229
views
Updating the PATH Environment Variable stops Eclipse working
To set up the JDK, I have added the following to the PATH environment variable in Windows.
C:\app\A_McLeod\product\11.2.0\client_1\jdk\bin
The problem is that Eclipse no longer opens and I get the ...
-4
votes
2
answers
738
views
Use new libraries in java with old JDK
I have in my computer java 8, and I use all the new libraries in java 8, but I'm compiling it on JDk5 because my client has an old version of java and he don't want to change it.
I want to ask - How ...
3
votes
3
answers
3k
views
Java version determination error
I just install Android Studio 1.5 on Ubuntu 14.04. I created a new project and I get the following error:
Error:Could not determine Java version using executable /usr/lib/jvm/java-1.5.0-gcj/bin/java.
...
5
votes
3
answers
5k
views
How to migrate Java code to a more recent jdk (e.g. 1.8)
What is the best way to migrate Java code of an older jdk (1.5) to a more recent Java version (1.8) to provide from its new features and improvements.
We have a large Java jdk 5 code base and want to ...
2
votes
3
answers
294
views
Pause execution of a loop in main method till all Threads finish Java 1.5
I am reading multiple arguments from command line using Java 1.5 . The arguments are names of flat files. I loop thru the arguments in the main method and call a method which in turn creates a bunch ...
1
vote
1
answer
525
views
Linking problems with JNI when going from Java 1.5 to 1.6 under IBM J9
Some change in the IBM J9 JVM 1.6 (over 1.5) causes a linkage error we were experiencing to cause a runtime exception. Specifically, we’re using the JNI to load a shared library that contains object ...
5
votes
2
answers
11k
views
Can I copy the jdk installation folder
I can't find a version of one jdk installer. Can I just copy the jdk installation folder from another computer to mine without install it ?
1
vote
1
answer
67
views
What is the best way to deal with the project having multiple jdk compiled dependencies?
I have an ant based project which was build with Java 5, its an old project.
Now I need to work on that again to make some changes in it. I have this other project jar, which is build with Java 7 , ...
0
votes
0
answers
109
views
Jenkins 1.580.1 jdk 5 build fails
I use Jenkins version 1.580.1 and when i run build of job with JDK 5 he fails and he pass in success with JDK 6,
i run the clean install on the console with jdk5 that worked fine.
Can any one help me ...
-3
votes
1
answer
186
views
Java Virtual Machine Error
I have been working on an application which was originally built with JDK 1.5.0. While playing around with the application I have somehow regenerated the classes to version 1.6.0.
Due to classes ...
0
votes
0
answers
64
views
Maven UnsupportedClassVersionError while running a build [duplicate]
I set the default JRE to 1.5.0 in the 'Installed JREs" settings in preferences in Eclipse(STS 3.5) and ran a maven build with a profile (which includes the wsimport goal of the jaxws-maven-plugin). ...
0
votes
2
answers
419
views
Upgrade JDK1.5 to 1.8 on EA Server 5.5
I'm using EAServer 5.5 on Windows7 and the server is running with JDK 1.5
Now I want to UpGrade JDK1.5 to 1.8. Can you please some one help me.
I am getting the following error.
DynamicLibrary::...
1
vote
1
answer
282
views
Java ME: transform basic JDK 1.5 "enum" object into Java ME CLDC-1.1/IMP-NG (JDK 1.4)
I'm translating a Java (JDK 1.5) "enum" into Java ME (JDK 1.4).
Many people have suggested retroweaver to parse JDK 1.5 libraries to JDK 1.4 but I've got a lot of problems using it and I really want ...
0
votes
1
answer
343
views
Jacorb - how to open POA monitor GUI
In Jacorb programming guide there is a mention of "POA monitor GUI". am not sure how and where to open this GUI ? anyone please help me with this ?
"The jacorb.poa.monitoring property determines ...
1
vote
0
answers
93
views
how to run mysql jdbc connector with source code
I want to read mysql jdbc driver souce code, and I download the cource code from github.
I imported the source code into IntelliJ IDEA, and my jdk version is 1.6. But there are something wrong, such ...
2
votes
1
answer
3k
views
Install JDK 1.5 in OSX 10.10 Yosemite
I use OS X Yosemite (10.10.2) and I have to use JDK 1.5 for legacy application development. I found this post which refers to this script to install JDK 4,5,6 in Lion and Mavericks. In comments I ...
1
vote
0
answers
66
views
Strong synergy between autoboxing and varargs
As said in the java documentation i.e. https://docs.oracle.com/javase/1.5.0/docs/guide/language/varargs.html,
There is a strong synergy between autoboxing and varargs, which is illustrated in the ...
0
votes
0
answers
116
views
getting an error building my app with java 1.6
I am looking for help. My web app is running on Websphere 8. It is currently being built with Java 1.5 and compiling fine. However, if I change it to compile with Java 1.6. I am getting the following ...
0
votes
0
answers
541
views
Idea Java Settings
In my project, I was using eclipse, but now I want to switch to Idea. But I have problems with Java setting. Our project is limited by java 1.5 (customer has websphere) so I tried to set all settings ...
0
votes
1
answer
1k
views
how to resolve SSL illegal_parameter?
in order to solve SSL HANDSHAKE PROBLEM. I write this code.
I have this error because I connect to HTTPS URL, which have 3 level certificate chain, which 2048 key, RSA. I found the solution in the ...
0
votes
1
answer
392
views
How to get SSLParameters JDK 1.5
I have written code in JDK 1.6
SSLContext context = SSLContext.getInstance("TLS");
context.init(null, tmf.getTrustManagers(), null);
SSLParameters params = context....
2
votes
1
answer
3k
views
Install JDK 1.5 in OSX 10.10
I'm using Mac OS X 10.10 (Yosemite), i have to use JDK 1.5 for legacy application development. I'm having troubles when installing JDK 1.5.
I'm able to find the 1.5.dmg (http://support.apple.com/...
2
votes
0
answers
361
views
Cannot build maven application on Jenkins with JDK1.5
I am trying to build a maven 2.2.1 project on Jenkins ver. 1.596. The project uses JDK 1.5 and it is not an option to upgrade to a newer JDK.
When building the project I get the following stacktrace:
...
2
votes
0
answers
92
views
Web Logic 9.2 redployment issues
So, After a lot of R&D I've still not been able to find a fix to my issue. I'm working on an enterprise app. It's using WebLogic 9.2, ANT and JDK 1.5.
The issue: "weblogic.Deployer$...
0
votes
0
answers
917
views
SAAj SOAP CLIENT
I am using JDK 1.5 with SAAJ [saaj-api-1.3.jar and saaj-impl-1.3.15.jar] and activation.jar
Now I have simple client below: On running this I am just getting the response just as ERROR tag nothing ...
0
votes
1
answer
206
views
Programmatically Adding SerialVersion Ids for Java files
We have hundreds of java Entities which are reverse engineered through Hibernate tools. The Entity classes seem to implement java.io.Serializable interface, but doesn't have serialVersionUID.
We are ...
8
votes
2
answers
4k
views
Using JAX-WS 2.2.5 client with JDK/JRE 1.5
Java 6 shipped with JAX-WS 2.0. Java 5 didn't ship with JAX-WS as far as I know.
I was able to use JAX-WS 2.2.5 with Java 1.6 for creating Webservice client stubs by using the Java Endorsed Override ...
0
votes
2
answers
405
views
JRockit full memory dump
I suspect that my application have a memory leak. I have GC logs and when I look at them I see that memory usage is about 9-10GB. Then I try to dump memory to the file, the file size is about 5GB.
...
0
votes
1
answer
140
views
mac os x 10.9.4 install jdk5
hi, all:
I have some trouble in installing jdk5 on os x 10.9.4, I couldn't find the install file in oralce website and the apple developer site, how could i install ...
0
votes
2
answers
1k
views
java https client throws "Received fatal alert: handshake_failure" with JDK 1.5 but works on JDK1.6
I am runnning a simple java httpsclient. It gives handshake_failure error when compiled and running with jdk1.5 . But works fine with jdk1.6 . I cannot upgrade my code to jdk 1.6. Is there anyway I ...
2
votes
2
answers
585
views
Java heap space (java.lang.OutOfMemoryError) Exception when i build ejb module on Netbean6.9.1
The system is out of resources. Consult the following stack trace for
details. java.lang.OutOfMemoryError: Java heap space
I have also updated this prems to
-Xmx1024m -Xmx2048m -XX:MaxPermSize=...
0
votes
2
answers
1k
views
JDK 1.5 Properties load with unicode characters
JDK 1.5 Properties load method only gets InputStream while JDK 1.6+ load method also gets also Reader. When a string with Unicode characters is loaded to a properties object on JDK 1.6+ with load(...