Programming and Scripting :: Java



I'm in Java class right now.  I've downloaded Java for Linux.  I don't know how to extract it.  It's sitting in my /ramdisk/home/dsl.  

Help please.

Thanks!

I'm facing the same problem, pls help ...
what kind of Java are you talking about?JRE runtimr or SDK for developpement?
anyway, I have no problem compiling/running java and netbeans on DSL.
I installed them using another linux distribution and run them from there and they work also when i packed them in an iso file.
hope this works!

Hi,

Thanks for replying.

Ya, I got it working too. 1st download a GNU gcc compiler ("*gcc.dsl" from dsl package) to your ramdisk/ hdd, "mydsl" (install) it!

Download your JDK "jdk*.tar.gz", uncompress it using "tar" command. Build the distribution using "gnu gcc" by following the build command.

Set all environment variables, there you go! Now you can start coding and compiling in shell command.

You can even run your TOMCAT using a similar way.

*remark*
- In some rare situation, you may not have enough access rights to modify or execute files.
- So make sure you switch to an administrator role to do everything by keying in "sudo su" in shell.
- you can also add access rights to your self by typing "chmod +x file_name" to certain files or directory.

That's all for now, happy coding in DSL OS, it's kind of "saviour" to me when my hdd down!


By Avatar
(owner of KLJUG)
Avatar's Blog - KLJUG


original here.