A recent post on OTN related to the installation of JDeveloper on Linux is the inspiration for this FAQ. Let's go over the installation then and discover on the way how difficult or - as it turns out - how easy it is.
Main Theme
Start by downloading the latest version of JDeveloper - at the writing of this, it is 11.1.1.3.0 - from the Oracle JDeveloper Downloads web page. This download page can be accessed directly by typing the following address on your browser: http://www.oracle.com/technetwork/developer-tools/jdev/downloads/soft11-098086.html.
Once the download is done, open a terminal window and go to the directory where the installation package file resides. Ensure that you have given read and execute permissions to the installation auto-extraction package file and start its execution by typing ./jdevstudio11113install.bin, where jdevstudio11113install.bin is the name of the downloaded installation package filename. This will start the unpacking of the installation package and upon completion it will present the Welcome installation page.
Note that if you are having trouble seeing the Welcome page in graphical mode, ensure that the $DISPLAY environment variable is set correctly.
Click Next to proceed to the Choose Middleware Home Directory page and possibly accept the default Middleware Home Directory proposed by the installation program, namely Oracle/Middleware.
In the Choose Install Type page you can choose Complete to install all available components, that is JDeveloper, ADF support and the WebLogic Server. This would be fine, unless you want to selectively install certain components only.
Click Next and confirm the installation directories in the Confirm Product Installation Directories page. Confirm and click Next once more to proceed to the Installation Summary page.
Review the installation summary and when ready press Next to proceed with the installation.
The installation will start and upon a successful installation you should see the Installation Complete page. Uncheck the Run Quickstart checkbox and click Done to exit.
That's all there is to it.
To start JDeveloper, go to the /jdeveloper/jdev/bin directory under the Middleware Home you selected during the installation and type ./jdev
JDeveloper should start.
You are know ready for developing your applications on Linux using JDeveloper. To make things easier create a shortcut to the specific file on your Linux desktop if you prefer.
Conclusion
As it turns out, installing JDeveloper on Linux is very simple. Simply download the Linux version of the JDeveloper installation package and run it. Follow the directions presented during the installation and when done, start JDeveloper by running the jdev executable in the /jdeveloper/jdev/bin directory.
Until the next time, keep on JDeveloping (on Linux)!
when I run /home/oracle/Middleware/jdeveloper/jdev/bin/jdev
ReplyDeleteit gives me lines
Oracle JDeveloper 11g Release 2 (11.1.2.0.0)
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/oracle/Middleware/jdk160_24/jre/lib/i386/libsplashscreen.so: libX11.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1806)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.SplashScreen.getSplashScreen(SplashScreen.java:91)
at oracle.ide.osgi.boot.OracleIdeLauncher.getSimpleSplashImage(OracleIdeLauncher.java:539)
at oracle.ide.osgi.boot.OracleIdeLauncher.main(OracleIdeLauncher.java:82)
at oracle.ide.osgi.boot.JDeveloper.main(JDeveloper.java:14)
Ensure that the requirements for running JDeveloper are met. Take a look at this link: http://download.oracle.com/docs/cd/E16162_01/install.1112/e17074/ojdig.htm#BDCEDIAB
ReplyDeleteNick, thanks for response.
ReplyDeleteSo I've tried that instructions after I done my JDev installation.
I checked my jdev.conf | SetJavaHome /home/oracle/Middleware/jdk160_24. Move cursors here. And also check the limits.conf.
No changes. Still gives me
$ uname -a
Linux localhost.localdomain 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/redhat-release
CentOS Linux release 6.0 (Final)
The solution is to install libX11.so.6 library
ReplyDelete$ rpm --query --whatprovides 'libXp.so.6'
Don't know... Did you download the Linux installation or the generic one? Try posting the problem to the JDeveloper forum at http://forums.oracle.com/forums/forum.jspa?forumID=83&start=0
ReplyDeleteI do post in my blog http://tuxedo-live.blogspot.com/2011/08/jdeveloper-javalangunsatisfiedlinkerror.html
ReplyDeleteThank for writing this article. It really helped me setup jdeveloper on my ubuntu machine. One thing i would like to add to this article would be to create a luncher from your desktop to the folder /jdeveloper/jdev/bin and select jdev file. This would help executing the application from your desktop itself.
ReplyDeletei have the same issue with my installation
ReplyDelete( Linux Chronicle-Storm 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux )
Error
Exception in thread "main" java.lang.UnsatisfiedLinkError: /root/Oracle/Middleware/jdk160_24/jre/lib/i386/libsplashscreen.so: libX11.so.6: cannot open shared object file: No such file or directory
Looks like you are missing this library. Check out this link: http://tuxedo-live.blogspot.com/2011/08/jdeveloper-javalangunsatisfiedlinkerror.html
ReplyDeleteUsing Ubuntu 12.04.1 64-bit, I get the same error ("java.lang.UnsatisfiedLinkError") even after I install libx11-6 (http://pkgs.org/ubuntu-12.04/ubuntu-main-amd64/libx11-6_1.4.99.1-0ubuntu2_amd64.deb/download/) and create a symbolic link on the needed path (in my case: ln -s /usr/lib/x86_64-linux-gnu/caca/libx11_plugin.so /home/alan/Oracle/Middleware/jdk160_24/jre/lib/i386/libx11.so.6). Does this happen because JDeveloper doesn't work on 64-bit system?
ReplyDeleteI did not have any issues installing JDeveloper on Ubuntu 64-bit. If I have to run JDeveloper on Linux, I'd rather install it on an Oracle Enterprise Linux (OEL) instead, which is cerified by Oracle to run it as far as I know.
DeleteLate to the game here, I suppose, but I just broke my jdev installation in this exact same way doing some unrelated updates. The fix was to install ia32-libs, which I had probably accidentally uninstalled.
DeleteI am getting this error while executing ./jdevstudio11116install.bin
ReplyDeletebash: ./jdevstudio11116install.bin: No such file or directory
Even though file is present in that directory, it's showing this message.
please help. Thanks in advance!!
I had the same - it turned out that jdev .bin file was 32bit version while I was on 64 bit Ubuntu:
Delete$ ./jdevstudio11124install.bin
bash: ./jdevstudio11124install.bin: No such file or directory
$ file jdevstudio11124install.bin
jdevstudio11124install.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
$ uname -a
Linux kgr-main 3.5.0-30-generic #51-Ubuntu SMP Tue May 14 18:47:48 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
would appreciate more user friendly message from our beloved Ubuntu :)
Best Regards,
KGrajek
Ensure that you have execute permission on the file, i.e. chmod +x jdevstudio11116install.bin
ReplyDeleteNice tutorial about JDeveloper.
ReplyDeleteMy blog is: http://javawebaction.blogspot.com/
nice..
ReplyDeletenice..
ReplyDeleteJdev IDE, Hangs everytime when i go to Application Module, Data Model Tab. I tried re-installing. We’er using SVN Subversion for Server. We’re not able to process further because of this issue.
ReplyDeleteIt was working until i did Commit on Subversion, after tat Im facing this issue. My whole team having this issue. Dont know what to do. We're Stuck on this and we're almost on our Deadline. Any Help.?