I am currently running Debian Linux on an ARMv7 microprocessor (aka my android phone. ;))
it really runs great, without a single issue. With surprisingly a great deal amount of application support compiled for arm, as compared to many other arm based linux distros.
I would love to use it for some Web Development, as well as Java programming and compiling, but I am having a bit of trouble trying to find any IDE's that are either architecturally independent or compiled for the ARM processor..
One I am really curious about is, IntelliJ IDEA. But I cant figure out if it is architecturally independent or just x86 support only.
I also believe Netbeans is ready and compiled for NetBeans, but I am not a big user of it so I would prefer to use one of the ones I use more often. but if it comes to it, and it does support arm, I will definitely use it.
So what do you folks know of? Are there any programs that are compiled for arm that will suit this purpose for me? or am I stuck with Vim or something?
Well it never hurts to try :)
Have you downloaded the JRE for ARM from http://www.oracle.com/technetwork/java/embedded/downloads/javase/index.html? Get that and download IntelliJ 11 Community Edition for linux and give it a go.
On the Samsung Chromebook Arm, Eclipse works when running Crouton and Ubuntu. At the command line, enter:
sudo apt-get install eclipse
Ubuntu will automatically install Java JDK 6 for arm. Replacing it with Oracle Java JDK 8 for Arm will improve performance
Alternatively, when using Chroagh and Arch Linux, Intellij Idea works. At the command line, enter:
cd /usr/lib
sudo ln -s libgif.so libgif.so.4
pacman -S intellij-idea-community-edition
Intellij Idea install with Open-JDK7 for ARM, but you can replace it with Oracle JDK8 for ARM.
Lastly, I have had no luck installing Android-Studio or the Android SDK for Eclipse on either Ubuntu or Arch. Still searching for this solution.
It is still a bit early for ARM desktop-class hardware to use for development even if the hw is now strong enough.
I have managed to run some bigger Swing applications on my XE303C Chromebook under Ubuntu 12.04 (OpenJDK7 and now Oracle JDK( for ARM/Linux 8 EA) but I haven't had much success with Java IDEs.
Netbeans 7.3 fails to start on both JREs after the splashscreen.
Eclipse is in the repos though, so it may work. (I am a Netbeans guy so I haven't tried)
Related
Apologies in advance. I know this is a basic question.
I am new to server administration. I am administering a server where the users do Java development.
They have a Java-based application and do development in Eclipse. Eclipse is 32-bit. The OS is 64-bit.
I recently updated the JDK and JRE on the server. I have both the 64-bit and 32-bit of each installed.
Eclipse ran into an error where it couldn't start after I had updated to the new JRE and JDK. So I took some advice online and updated the -vm path in the Eclipse .INI file to point to the new 32-bit JRE path. It now works.
I have two main questions:
Will updating the JRE and JDK EVER cause an issue with development, or as long as they can open up Eclipse and use at least one version of the JRE or JDK, they will be fine? I guess my fear is that they are going to develop in a certain version and the next version will cause issues down the line.
They develop in 32-bit Eclipse (not sure why they chose 32-bit) but their application runs with 64-bit Java (that is where the path points to for that installation). If something is developed in 32-bit Eclipse can it run with 64-bit Java? Side question: is there a certain advantage with developing with 32-bit Eclipse on a 64-bit system or is it personal choice?
Thanks a lot and cheers!
I guess my fear is that they are going to develop in a certain version and the next version will cause issues down the line.
Java 6 and 7 are end of life; Java 8 code should still be run when Java 9+ rolls out. I've not been aware of any backwards compatibility issues in recent years, it's only forward compatibility that doesn't work (running Java 8 compiled libraries with JRE 7).
They develop in 32-bit Eclipse (not sure why they chose 32-bit) but their application runs with 64-bit Java
The IDE and code run in separate processes. There's no harm in using the 64bit JDK with 32bit editor.
Eclipse 32 bits running on 64 bits JVM
Should I use Eclipse 32bits or 64bits on my new machine?
Will updating the JRE and JDK EVER cause an issue with development...
I believe it technically could render what you developed "obsolete" if you're initially using one JDK with some specs and change for another one with specs that are not "compatible" with what you built so far. By specs, I mean the libraries, tools, etc that the JDK contains. But I would say it would be unlikely that such problems occur. It personally never happened to me. I'd like to have someone with more knowledge give more details though and validate what I'm saying or correct me if I'm wrong.
If something is developed in 32-bit Eclipse can it run with 64-bit
Java?
To my knowledge, there are not related things. In my mind, Eclipse is just your IDE and it allows you to build/compile code using specific JDK (32 or 64 bits). As a matter of fact, you don't even need eclipse to build code but you definitely need a JDK: it's the JDK that give you the tools to compile code that "targets" a specific JRE/JVM and Eclipse is using the tools your JDK provide.
So yes, you can use eclipse 32 bits to build code for a 64 bits JRE.
So I am very, very new to Linux. I am also new-ish to coding. I'm currently learning Java and purchased a Samsung series 3 Chromebook for the sole purpose of practicing code (eventually moving to slick 3d).
I have JUST installed XFCE using crouton and have gotten Firefox using the Synaptic Package Manager, woohoo!
I would like to find out how/which JDK I need for this device and how to install Intellij IDEA. I've tried searching around for a little while now and feel a bit overwhelmed with all the information regarding this, not only new OS, but new architecture (ARM).
Basically my main goals are to be able to get the proper JDK and a Java IDE up and running. I have read that Intellij IDEA may or may not be available yet for the ARM processors in which case using Eclipse would be just as fine.
A bit late but just did this myself. Very simple really: Go to https://www.jetbrains.com/idea/download for the latest version of idea. While it's downloading go to the terminal and type
sudo apt-get update && sudo apt-get install openjdk-7-jdk
Once Idea is downloaded and openjdk installed, extract the idea file somewhere.
mv ~/Downloads/idea-IU*.tar.gz ~
cd ~
tar xvf idea-IU*.tar.gz
To launch idea then just go to the extracted directory and run the idea.sh in the bin directory
cd idea-IU*/bin
./idea.sh
Should start up nicely
Update:
Saying it starts up nicely was not a lie. It just doesn't stay up long. Trying to see whats going wrong. Will update with findings.
OK, so you'll also need to do the following, open idea.sh and add -jamvm to the list of arguments used to run intellij,so change this line:
IDE_JVM_ARGS=""
To this:
IDE_JVM_ARGS="-jamvm"
ALSO, you'll need to install clang ( sudo apt-get install clang ) and copy and run ( bash <scriptname>.sh /path/to/idea/bin ) this guy's shell script : https://gist.github.com/pcarrier/7560053#file-fsnotifierto-sh
OpenJDK is available in Ubuntu, and the Oracle Java SE Development Kit can be downloaded from Oracle. For the latter, you would need the "hard float ABI" version.
http://www.webupd8.org/2013/12/oracle-java-ppa-updated-with-arm-support.html might be a more user-friendly way than downloading the Oracle environment yourself.
Eclipse exists in Ubuntu too.
I have just installed osx mavericks, and Java SE6 just disappeared from my system... anyway, I already have Java SE7 and I am happy with that, no need to reinstall Java SE6 since my NetBeans already works on Java7 and NetLogo too if I start it from terminal...
I am wondering how to tell the plist file of my NetLogo 5.0.4 to look for the JavaSE7 folder... any help much appreciated.
Best,
Simone
Answer
You might think that changing "1.5" to "1.7" in these Info.plist lines:
<key>JVMVersion</key>
<string>1.5+</string>
would work, but it doesn't. That's because Java 6 is from Apple but Java 7 is from Oracle, and "Apple java applications and Oracle's aren't executable compatible" (source).
Unless you want to mess with making a new NetLogo app bundle using Oracle's AppBundler tool, the simplest way to get the app running under Java 7 is to download the Linux version of NetLogo and use the supplied netlogo.sh launch script.
More info
When running headless, NetLogo has been tested thoroughly on Java 7. For headless runs, I definitely recommend Java 7 because it's faster.
The NetLogo GUI, however, hasn't been tested with Java 7. Once you get it launched, it will probably mostly work, but you might have problems or incompatibilities. We'll probably switch eventually (it's issue 197), but the work on that hasn't been done yet. That ticket would be a good place to record any problems that you find.
If you decide to fall back to Java 6, you can get it from http://support.apple.com/kb/DL1572 . (link is current as of October 2013)
I'm starting to develop my new study project. Because I want and need to run it on different platforms (Linux and Windows) I decide to use Java. Also, because I want to learn something new - I have decided to use Qt Jambi. And here are my problems and doubts. I think that most of it are because I do not understand everything clearly... ;) For now, I develop my application mostly in .Net, and few in Java Swing.
Firstly, I'm using Windows 7 64bit and I want to develop most time on this system. So I've installed the new Eclipse Helios 64bit and Jave SE 64bit. And here is the first concern and problem:
1. It can be stupid, but if I'm using such a configuration, my application will be 32bit or 64bit? :)) It must be 32bit, 64bit can be an option...
2. I've download the Qt Jambi 4.6.3 from this site: http://sourceforge.net/projects/qtjambi/files/ and I can't run it... I've got such error:
java.lang.ExceptionInInitializerError
at com.trolltech.qt.QtJambiObject.<clinit>(QtJambiObject.java:60)
Caused by: java.lang.RuntimeException: Loading library failed, progress so far:
Unpacking .jar file: 'qtjambi-win32-msvc2005-4.6.3.jar'
Checking Archive 'qtjambi-win32-msvc2005-4.6.3.jar'
- skipping because of wrong system: trying to load: 'win32', expected: 'win64'
From this description I thought that the 64bit java and 32bit Qt is a problem. Because there is no Qt Jambi 4.6.3 for 64bit windows I've installed the 32 bit Java SE and Eclipse simultaneusly. But this do not help.
On the other hand, I found 64bit Qt Jambi from Nokia site - the last version with their support and everything works (only Qt Jambi.exe file not run, because could not find the jvm.dll, which is also strange....
What I want is to develop 32bit application in Java with newest stable Qt Jambi (4.6.3) which will run on Linux and Windows (both 32 and 64bit), and I'm developing in on 64bit Windows. My other questions are:
1. From documentation I understand that I need qtjambi.jar and the second one specific for each system because of C++. Is there any way to include all and make application to choose the right one during start up or intallation?
2. And for people developing in Qt - is better to use Eclipse plugin or to use Qt Creator and then juic ?
3. Some recommended books / tutorials will appreciate.
Thank you for patience to read that and for any answers :)
MichaĆ
I had this same problem. To get it to work I have to remove the 64-bit java installations of Java 6 Update 22 and Java SE Developement Kit 6 update 22. Once I removed these Eclipse helios new that it should use the 32 bit java stuff.
I am trying to debug a j2ee application in tomcat using Intellij Idea in an OS X 10.6.4 system. I need it specifically to run over a 1.5 JVM and 1.5 JDK so that the jgroups-all component doesn't crash the application through this error:
class: java.lang.ClassNotFoundException: [Lorg.jgroups.Address;
at com.opensymphony.oscache.plugins.clustersupport.JavaGroupsBroadcastingListener.initialize(JavaGroupsBroadcastingListener.java:119)
Has anyone needed to install an older version of JVM or JDK in OS X before?
NOTE: I'm a Mac newbie.
Thanks, everyone.
Well, as far as I know you should be able to choose an older VM in the Java control panel, although I think Apple removes old JREs by default now.
Did you consider Apple's Java Deprecation before starting you project? It looks like you will be out of luck in the near future. If Apple doesn't even want to support some recent JRE anymore it is unlikely that they will offer old, unsupported ones, which even Oracle ended support for.
Even if Oracle will provide some JRE/JDK for Mac OSX it is highly unlikely that they will back-port some Java 5 to Mac OSX. Your best bet is to migrate your application to a version which is supported first, before doing any other steps.
Try the solution here.