Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 3996  / 3 Years ago, wed, november 3, 2021, 11:05:37

I have my project which requires to run with Java - 64-bit for the main application. And for some other libraries it requires Java - 32-bit version.



On 64-bit Ubuntu 12.04 when i install java it installs only the follow



sun@sun-M14xR2:~/Videos$ java -version
java version "1.7.0_21"
OpenJDK Runtime Environment (IcedTea 2.3.9) (7u21-2.3.9-0ubuntu0.12.10.1)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)



Now how i can keep this as it is + separately also install the java - 32 bit?


More From » 12.04

 Answers
2

Your java deployment is found out by the other application and host OS via the environment variables. Having two deployments of java would work, provided you change the environment variable to point to the required version of java.



Running both of them simultaneously is not possible AFAIK.


[#31517] Friday, November 5, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
howesale

Total Points: 224
Total Questions: 117
Total Answers: 116

Location: Nauru
Member since Thu, May 18, 2023
1 Year ago
;