How to install jdk7 on LinuxMint16

lamike

Member
Jun 24, 2013
42
1
38
New to terminal in linux mint need help with commands to install jdk7.Anyone care to assist me in this endeavor ?

Sent from my N9510 using xda app-developers app
 
Last edited:

S0AndS0

Senior Member
May 7, 2012
269
77
0
New to terminal in linux mint need help with commands to install jdk7.Anyone care to assist me in this endeavor ?

Sent from my N9510 using xda app-developers app
You can likely use the scripts I've writen with a little modification
https://github.com/S0AndS0/Debian-Kit-Mods
Curently the scripts for java are set up for debian ARM bassed distros but if you mod the download address for your system's cpu it should work ok. There's also links to where I found the info required to install java's JDK to linux in the scripts or readme.
Does your system use the apt-get and sudo commands?

Sent from either my SPH-D700 or myTouch3Gs or M470BSA
Debian Kit Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
 

lamike

Member
Jun 24, 2013
42
1
38
I am having problem with linux mint about permission s,and I think I mention that linux is total new for me.Wish I have started earlier.

Sent from my N9510 using Tapatalk
 
  • Like
Reactions: S0AndS0

S0AndS0

Senior Member
May 7, 2012
269
77
0
I am having problem with linux mint about permission s,and I think I mention that linux is total new for me.Wish I have started earlier.

Sent from my N9510 using Tapatalk
OK well if it is something like permission denied when trying to extract the source file then a "chmod" command might help. I'll see about finding some guides to the command line and post them in this post..
[UBUNTU][DEBIAN]Common Commands used in Linux
http://forum.xda-developers.com/showthread.php?t=2387695

Here is a guide for java's 64bit jdk and it's for your distro
http://community.linuxmint.com/tutorial/view/1372
Note for your system you'll need to be sure of the processor version; currently there is 32bit 64bit and arm(hf/sf); if installing on a PC then 32 or 64 and if installing on android arm hf or sf. The commands in the guide you will have to expand (hit the "tab" key to have bash auto complete along the way) but it looks like it should work.

Oh and try "sudo" or "login root" to elevate your user permissions to avoid permission denied errors ;)

If you're new to Linux then perhaps you're new to the command line? If so I'm willing to help as I've been new myself; few two years ago I dived in deep and now have scripts that save me time to show for it.
Most command line programs such as; tar, make, man, wget, mkdir, chmod, chown, and more have help documents and manuals for how to use and these docs can be read from the command line with the following:
Code:
man <some-program>
<some-program> --help
Just replace the "<some-program>" part with tar or whatever program you want to know more about.

Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
 
Last edited:

lamike

Member
Jun 24, 2013
42
1
38
Thank you very much! I am new to the command line,been using Windows seem like forever but already like linux mint and the terminal.I want to develop my own android app and download it on my phone understand that using terminal or at lease knowing how is a big + .


Sent from my N9510 using xda app-developers app
 

S0AndS0

Senior Member
May 7, 2012
269
77
0
Thank you very much! I am new to the command line,been using Windows seem like forever but already like linux mint and the terminal.I want to develop my own android app and download it on my phone understand that using terminal or at lease knowing how is a big + .


Sent from my N9510 using xda app-developers app
Glad I can help :D know almost what you're going through with adjusting to the plethora of options/power Linux gives to the same hardware. Be sure to check out the tutorial script I wrote because it will give you a detailed crash course in command line and bash scripting (linked below)
https://github.com/S0AndS0/Debian-Kit-Mods/blob/master/Examples/findNetworking_IPs
And feel free to suggest what I should script up in the future because I plan to have more scripts to help people new to Linux get started quickly.

If you're planning on app building I can suggest the Android app "AIDE" it's free for small progects and the pro version has some nice guided tutorials too. And if building on PC; I've seen some really nice stuff from the "jMonkey" team; jMonkey can also be run on Android through duel-booting Linux but I've yet to get Android SDK on ARM Linux so jMonkey on Android is only capable of editing you basic Java projects.

Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
 

S0AndS0

Senior Member
May 7, 2012
269
77
0
There's a app-get to that

Enviado desde mi GT-I9300 mediante Tapatalk
Do you mean the open JDK? If so I've had some Java dependent software not able to use the apt-get('ble) versions of Java and for software that can use it; there is a speed difference that causes me to still prefer installing from source.

Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
 

mannyvzla

Senior Member
Jun 6, 2011
135
48
0
Valencia
No. I think it's Oracle's. As soon as I get near my computer I will post the link. This is the java I am using both for Eclipse an AS.

Enviado desde mi GT-N8013 mediante Tapatalk

---------- Post added at 07:33 PM ---------- Previous post was at 07:22 PM ----------

This is the page I used to install the JDK via apt: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html. It worked like a charm
 
  • Like
Reactions: S0AndS0

S0AndS0

Senior Member
May 7, 2012
269
77
0
No. I think it's Oracle's. As soon as I get near my computer I will post the link. This is the java I am using both for Eclipse an AS.

Enviado desde mi GT-N8013 mediante Tapatalk

---------- Post added at 07:33 PM ---------- Previous post was at 07:22 PM ----------

This is the page I used to install the JDK via apt: http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html. It worked like a charm
Ah indeed; I remember running across this when it was Java 7u21, thanks for reposting because it looks like it's up to date with current Java 7u51. Though when I last tried it I received download errors (bad cookie header in wget command) but since then I and likely they too have fixed this bug with the new cookie header.
One question; do you know if this repo supports arm processors? If so I'll have to do some rewriting of my own script to include their repo as an option.

Sent from: SPH-D700 or myTouch3Gs or Sero 7 Pro
Linux Install guide for Android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Or
https://docs.google.com/document/d/1ssVeIhdBuuy8CtpBP1lWgUkG6fR6oHxP20ToYPPw6zI/edit?usp=drive_web
And my script pack for installing; Java's JDK, node.js and more to your Linux OS
https://github.com/S0AndS0/Debian-Kit-Mods
Note: if you're new to Linux/scripting/command line; check readme file for instructions.
 

taerangbae

New member
Jan 14, 2020
3
0
0
If you have a hard time installing JDK,

Use goormIDE.
You can easily and simply build a Java development environment with cloudIDE service that provides Docker-based containers.