LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IDE for developing personal applications (https://www.linuxquestions.org/questions/linux-newbie-8/ide-for-developing-personal-applications-673697/)

Agrouf 10-08-2008 10:07 AM

Basically, the package manager is your best friend when you are connected to the internet. If you are not, you are going to have to deal with the dependancy hell yourself. That's not good! I advise you don't use the package manager at all for installing java if you are not connected to the internet.
Sun provides java installation files for linux (they have the '.bin' extension). Install those instead of the deb file, for they should have most dependancies included. Check Sun's website. If your ISP is banned from SUN, you can always use some anonymizer, they are easy to find on google.
Of course, if you are connected to the internet, then USE the package manager, it makes your life a lot easier. In this case, you have to enable the 'multiverse' repository in order to install Sun's java, because this software is plagged with license problems. It is still a lot easier this way if you can.

Check your /etc/apt/sources.list file for those lines (add multiverse if necessary):
deb http://archive.ubuntu.com/ubuntu/ hardy universe multiverse
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse


Hope this helps...

Ye Myint 10-09-2008 05:44 AM

IDE for developing personal applics
 
Hi and thanks for all yr advice. as submitted in my previous reply the error for installing sun-java5-jre is missing libjava.so and java2 runtime env. i surf around with google with my windows box and found an advice to install openjdk via add/remove. i open add/remove on my Ubuntu box and show toggle box to all open source applications. there's one error which says fetch http://security.ubunt.com/ubuntu/dis...ce/Sources.bz2. Hash sum mismatch. Some index files failed to download , they have been ignored or old ones used instead. I find for openjdk and click to install and get errors as follows:
setting up openjdk-6-jre-headless (6b11-2ubuntu2) ...
/usr/lib/jvm/java-6-openjdk/bin/java : error while loading shared libraries:
libjli.so : can not open share object file : No such file or directory:
I'm quite confused what the .so file means. I also down load for ia32-sun-java5-bin i get sun-java5_1.5.0-15.orig.tar.gz and i dont know how to untar it.
Pls help me patiently for my lack of knowledge.Regards.

Agrouf 10-09-2008 06:29 AM

On the terminal, type:
tar -xjvf sun-java5_1.5.0-15.orig.tar.gz
This will uncompress the file.
.so files are libraries used by other programs.

Ye Myint 10-10-2008 02:48 AM

IDE for developing personal applics
 
Hi, thank you very much for yr guidance. Now i try very hard first to install openjdk-6-jre via add/remove menu, i got the replies of errors as:
/usr/lib/jvm/java-6-openjdk/bin/java : error while loading shared libraries : libjli.so : can not open share object file : No such file or directory.
i also try installing sun-java5-jre by sudo apt-get install sun-java4-jre from terminal and the replies are
Error : could not find libjava.so
could not find java2 runtime environment.
i'm now trying and surfing inet for these two .so to no avail yet.
Would kindly guide me what to do? Is it Linux installing error and else?
Thanks and Regards.

Agrouf 10-10-2008 03:00 AM

Please try to install from the command line and post the error here.

Ye Myint 10-15-2008 01:54 AM

IDE for developing personal applics.
 
Hi. Sorry i've been away to upper part of our country to attend to some company duties and i cannot promptly reply to yr posts.Since my office computer which has internet access is a windows box, i boot it from Ubuntu8.04LTS Live CD and try to install java6-jre.It gives much errors such as writeout fails. no space on disk etc. I think because i'm running on Live CD. So i transfer the deb files from /var/cache... to my usb and try installing again on my Ubuntu box which has no internet connection.I got dependency errors for debhelper which depends on dpkg-dev(missing).Another dependency is sun-java6.jre depending on sun-java6-bin|ia32-sun-java6-bin.After completion of installation with errors, i type java -version from terminal and got the replies as
java version "1.6.0_0"
OpenJDK runtime environment (build 1.6.0_0-b11)
OpenJDK Client VM (build 1.6.0_0-b11,mixed mode, sharing)
So i try next to install eclipse. I had 2 pkgs one for Java and another for C/C++ (all are tar pkgs).I untar Java pkg and got a dir with all the unpacked files one of which is eclipse executable. When i double clicked this file i got eclipse with Java. I have already tested the fundamental HelloWorld program and i ran Ok. I have not untar the C/C++ pkg of eclipse and i like to know when both can be unpacked into the single folder or else.
This morning in my office i had downloaded sun-java6-07.orig.tar.gz file and on testing with Ubuntu Live CD, i can untar it to 2 bin files, one is amd64 and another is i586. After my work i may copied it into my ubuntu box and test install again.
Like to know also whether this bin file is Ok and whether eclipse needs OpenJDK only or with jre also.
Thanking so much for all yr help and understanding.

okos 11-13-2008 09:49 PM

Could you bring your home computer to work for a day?
Connect to the internet. Use synaptic manager to install all that you need and resolve dependencies?

karishma36 09-12-2019 04:08 AM

Usually, it is a good thing to be a part of this wonderful article and I wish for more in future as well. Thanks for making my day.

jamison20000e 09-12-2019 06:11 AM

  1. Ubuntu 8 was discontinued in 2010 https://wiki.ubuntu.com/Releases
  2. :twocents: You would learn way faster with text like Bash or my favorite Ruby
When I took a web development class we were only allowed to use text (until things got more advanced.)

Have fun! :hattip:

Samsonite2010 09-12-2019 07:11 AM

This post was over 10 years old, until the previous spam post came in, just FYI!

jamison20000e 09-12-2019 07:18 AM

Yeah I didn't catch that. :doh:

dmchess 09-12-2019 01:00 PM

Personally I use Lazarus and Free Pascal. They generate relatively fast code and there are books on Pascal available online for free.
Of course I have a CompSci degree from the 90's.

Terry H.


All times are GMT -5. The time now is 05:19 AM.