trouble running eclipse from usb - java

I am trying to run Eclipse Kepler from a usb drive. It will work when coding but when I come
to run the program it shows
error = 216. This version of %1 is not compatible with version of windows you are running.
Eclipse runs fine at home (windows 8 64bit Java 7) but the issue happens at college (Windows server 32bit java 6) Can anyone shed any light on possible issues please.
The JDK and JRE are installed on the USB device and running Java 7. 32 bit Eclipse is installed to USB also. Is it even possible to run java and eclipse as standalone from a usb?

The error code 216 generally means that there is a problem in the 32/64 bit version mismatch between your applications or OS.As you say your eclipse and OS is 32 bit could you please also check if the JDK you are using is 32 bit ?

Related

java not running in any browser

I have two versions of Java installed on my computer:
I have allowed java to run in the browser:
Java is running in command line:
This is the error I get:
I have also enabled scripting in the browser settings. I have restarted the computer and I have also tried uninstalling all Java and reinstalling it. I am not sure what else I can do?
Could you check the below settings(as shown in screenshot) is enables in your java control panel.
I have solved it. Even though I am using a 64 bit machine, if I install a 64 bit version of Java it will not work. I installed a 32 bit of Java and now it works.

Openfire server is not starting on JAVA 64 bit

i was trying to install openfire in my windows 64 bit OS, but server was not starting , and giving below error message.
which says JAVA_HOME doesn't point to 32 bit JRE,
where as in openfire site, nothing was said about 32 or 64 bit jdk version.
upon clicking ok i am getting serious of error messages,
do i need to point openfire to 32 bit jdk and jre to make it workable?
It is possible to start openfire from command line:
java -jar startup.jar
Assuming it is executed from ./lib of openfire installation dir, and you have binaries of your preferred java in system path.
The error means exactly what it said. You have either installed the wrong architecture flavor of Java / the JDK or haven't installed Java at all. If you haven't installed the 32-bit JDK yet, grab it at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html and install it. If you already have the 32 Bit JDK, change the environment variables of your system to let JAVA_HOME point to the correct installation. Refer to https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/ for further instructions. If that doesn't help, deinstall every JDK inst install the 32-bit JDK from scratch.
i have downloaded zip version of openfire , which is having this issue, i have downloaded .exe version with jre bundled, which is working fine.

Netbeans project properties doesn't list my remote platform

I am trying to develop a java SE application on a Raspberry Pi, using NetBeans. I have created a platform for the Pi using the Platform Manager, and the platform verifies ok; however, in project properties>Run>Runtime platform, the only option listed is "project platform", despite that fact that when I click "manage platform" next to it, my platform shows up fine.
Does anyone know what could be causing this? I have a feeling something might be misconfigured, or maybe I'm using the wrong type of project or something, but notihng I try seems to work. The project is just a simple java application (created with new project>java>java application), and I am using the latest version of Raspian on the Pi, with the preloaded java installation, located at /usr/lib/jvm/jdk-7-oracle-armhf/jre.
Any help is greatly appreciated.
I had the same problem yesterday, and I solve it!
Main reason is: you need the same JDK for NetBeans and Raspberry.
I use Raspberry PI 3+ (64 bit) with Debian OS (32 bit), JDK 8 has support for ARM 32 bit, I downloaded the last version: "jdk-8u271-linux-arm32-vfp-hflt.tar.gz".
https://www.oracle.com/it/java/technologies/javase/javase-jdk8-downloads.html
Unfortunately, JDK 15 hasen't the 32 bit ARM version...
I also installed the JDK 8 in Windows with NetBeans: "jdk-8u271-windows-x64" and then, you need to change the default JDK in the .conf NetBeans file.
https://www.codejava.net/ides/netbeans/change-jdk-for-netbeans
Now, when you open Properties/run/ you can select the remote platform.
Enjoy,
Best Regards.
Marco

Eclipse Genymotion error: Java was started but returned exit code=-805306369

I've been using Genymotion android emulator for development purpose with eclipse for 4/5 months. Everything was fine until once suddenly Genymotion plugin was not responding properly and after closing the window, it shows the following error:
My PC OS is Windows 8 Pro 64 bit. I have installed jdk 7 of both 64 bit and 32 bit versions.
I think the problem can be of jdk versions you are using.Try Using only 64 bit version of jdk in your system and configure it.Then let us know if you face errors.

Unable to install ADT plugin in Eclipse?

I did everything in Windows XP 32bit-with 4GB RAM, but thought why not install all applications on my other computer with 8GB RAM and Windows 7 loaded in it.
I installed everything (relevant 64-bit software : Java SDK-64 bit, Eclipse-64bit and Android SDK) in that Win 7-64 bit, except 1 thing in Windows 7 - 64bit. Even Android is loading fine on the emulator.
But when I am installing the ADT plugin in eclipse from Help > Install New Software > https://dl-ssl.google.com/android/eclipse/ then only 2 options are coming, and eventually the setup fails with showing the error that
Cannot complete the install because one or more required items could not be found. Software being installed: Android Hierarchy Viewer
16.0.1.v201112150204-238534 (com.android.ide.eclipse.hierarchyviewer.feature.group
16.0.1.v201112150204-238534) Missing requirement: Android Hierarchy Viewer 16.0.1.v201112150204-238534
(com.android.ide.eclipse.hierarchyviewer.feature.group
16.0.1.v201112150204-238534) requires 'com.android.ide.eclipse.ddms 0.0.0' but it could not be found
I did everything correctly on Windows XP, but I am getting this problem on Win 7 - 64bit.
Can someone please let me know how to resolve this problem and successfully install the ADT plugin in Eclipse on Win 7 - 64 bit.
Thanks.
Change https://dl-ssl.google.com/android/eclipse/ to http://dl-ssl.google.com/android/eclipse/ .

Categories