Upgrade from 32bit JDK to 64bit JDK - upgrade

I have a question on upgrading the java applications from 32-Bit JDK to 64-Bit JDK.
Is it compatiable to be upgraded like this ?
Could a simple full compilation in 64-Bit JDK using the old java code (.java) achieve it ?
Awaiting your comments on this.
Thanks

As long as you are not using JNI or native code, you should be able to compile your java code with the 64-bit SDK without problems.
See https://stackoverflow.com/a/9411435/153424 for more information

Related

Java 1.8 is compatible for BO4.0 SP9?

Is Java 1.8 is compatible with BO4.0 SP9? When I am trying to open the BI launchpad - "Cannot launch Java report panel, please make sure you have installed Java Virtual Machine" error is displaying,
In BO server jre1.8_111 and JDK 1.8_111 are installed
Please advice
According to the PAM, BI4.0 is supported with JRE 6-8.
Few things to note:
The version of the JRE/JDK on the server is irrelevant. A JRE must be installed on the client in order to use the WebI Java panel.
The bitness of the JRE must match the browser. If you are using 64-bit IE, then you will need a 64-bit JRE.
Newer versions of Chrome and (I believe) Firefox do not support Java at all.

Upgraded to Pydev 3 not working with eclipse 4.3 Kepler on Mac 64 bit cocoa

I have tried using a clean workspace and a fresh installation of eclipse with nothing but pydev. In all cases, I don't get the pydev configuration options or preferences or views. The plugin install goes through without a hitch and I can see pydev in the installed software also. Anybody else face the same?
PyDev 3 requires Java 7 to function. Unfortunately, the version of Java that is installed on Mac OS X is not a compatible or recent version.
You can check the current version of java on your system by typing java -version in the terminal. In order to run PyDev 3 you should have version 1.7.xxx.
To update Java you will need to install a Java Development Kit (JDK), since just installing the Java Runtime Environment (JRE) will not update the symlink at /usr/bin/java on OS X. If you think that you have installed Java 7, but java -version still gives you a version of 1.6.xxx then you probably installed the JRE instead of the JDK.
I agree with pseudocubic, In my case I just downloaded JDK8 : which by the way includes the JRE8 so pydev worked without trouble in my mac . I had to do this after installing JRE7 but when checking in console java -version it was returning 1.6 version (despite the fact that checking at java icon in system preferences says 1.7 was installed)
Install JDK8 and it's done

Java and Eclipse - 32 vs. 64bit

I'm a little bit confused about the two different versions of Eclipse - 32/64bit.
As far as I know, Java bytecode (= build of your code) is platform independend. If a user runs your bytecode in a 32bit JRE, the code is executed in as a 32bit process, if a user runs your bytecode in a 64bit JRE, the code is exectued as a 64bit process.
Eclipse needs the JRE to run, cause it's written in Java. But why are there 32 and 64bit versions of Eclipse on the Eclipse download page if only the user's JRE version does matter?
Does a 64bit Eclipse version need a 64bit JRE or JDK? If yes ,why?
Second confusion: I understand the need for a 32 and 64 bit version of the JRE. But why are there 32 and 64 bit versions of the JDK if the resulting bytecode is platform independet?
Thank you
Eclipse relies on SWT, which is essentially native code. There will be quite a few DLLs etc. exists (in the plugins or features directories) that will be used by the 64-bit version, that are drastically different from the 32-bit version.
It is not because of the running environment, it is because Eclipse uses some native stuff and must be run on corresponding JDK. The applications you are developing inside Eclipse can then be run on whatever JRE you have installed, just specify it in the settings.
JDK is a compiler and also a lot of other stuff. Many of them are native applications that need to be run corresponding platform.

Different Java developer and program versions?

I've installed JDK7 java version and selected version 7 as the JVM in Eclipse. The version of compiler remains being 1.6 and it doesn't shows a greater version.
Is it correct?
Thanks
Current version of Eclipse (3.7) does not support compiling Java 7 sources yet. The support is coming in 3.7.1 update soon. You can run your application with Java 7 JRE, but there is no support for compilation at the moment.

Why does my Eclipse crash all the time?

Somehow stupid question, I have to admit - hope it won't cost me too many points.
To make it clear: I would also be happy if you can help me find the reason for the crashes. I wouldn't expect a precise answer.
However, I don't see why my Eclipse is crashing (freezing) all the time. Mostly when I save a file.
For some reason, crashes seem to increase lately...
I use Eclipse Helios (Version: 3.6.1) and Java version 1.6.0_20 (OpenJDK Runtime Environment (IcedTea6 1.9.2) (6b20-1.9.2-0ubuntu2) OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)) on Ubuntu 10.10 (64-Bit).
Thank you!
Try installing sun-java6-jdk from the partnerrepository.
What version of Firefox you are using? The problem may be in xulrunner. Firefox 4 uses xulrunner 2.0, but eclipse 3.6 aren't compatible with it. Read more here
i also have had problems running eclipe with the open jdk, you can try to install sun's/oracle's jdk and run eclipse with it
Have you tried using the sun-jdk instead to run Eclipse and see if that helps?