FORUMS
Remove All Ads from XDA

How to install jdk7 on LinuxMint16

42 posts
Thanks Meter: 1
 
By lamike, Member on 6th April 2014, 02:32 AM
Post Reply Email Thread
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
10th April 2014, 02:43 AM |#2  
S0AndS0's Avatar
Senior Member
Thanks Meter: 77
 
Donate to Me
More
Quote:
Originally Posted by lamike

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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?usp=drive_web
10th April 2014, 03:29 AM |#3  
lamike's Avatar
OP Member
Thanks Meter: 1
 
More
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
The Following User Says Thank You to lamike For This Useful Post: [ View ] Gift lamike Ad-Free
10th April 2014, 05:46 PM |#4  
S0AndS0's Avatar
Senior Member
Thanks Meter: 77
 
Donate to Me
More
Quote:
Originally Posted by lamike

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/show....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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
12th April 2014, 05:31 PM |#5  
lamike's Avatar
OP Member
Thanks Meter: 1
 
More
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
12th April 2014, 07:36 PM |#6  
S0AndS0's Avatar
Senior Member
Thanks Meter: 77
 
Donate to Me
More
Quote:
Originally Posted by lamike

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 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-Ki...Networking_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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
16th April 2014, 04:03 PM |#7  
Senior Member
Flag Valencia
Thanks Meter: 48
 
More
There's a app-get to that

Enviado desde mi GT-I9300 mediante Tapatalk
16th April 2014, 06:14 PM |#8  
S0AndS0's Avatar
Senior Member
Thanks Meter: 77
 
Donate to Me
More
Quote:
Originally Posted by mannyvzla

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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
17th April 2014, 02:03 AM |#9  
Senior Member
Flag Valencia
Thanks Meter: 48
 
More
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/insta...buntu-via.html. It worked like a charm
The Following User Says Thank You to mannyvzla For This Useful Post: [ View ] Gift mannyvzla Ad-Free
17th April 2014, 10:51 AM |#10  
S0AndS0's Avatar
Senior Member
Thanks Meter: 77
 
Donate to Me
More
Quote:
Originally Posted by mannyvzla

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/insta...buntu-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/show....php?t=2240397
Or
https://docs.google.com/document/d/1...?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.
17th April 2014, 03:39 PM |#11  
Senior Member
Flag Valencia
Thanks Meter: 48
 
More
Apparently they do support installs in ARM http://www.webupd8.org/2013/12/oracl...m-support.html

Enviado desde mi GT-N8013 mediante Tapatalk
The Following User Says Thank You to mannyvzla For This Useful Post: [ View ] Gift mannyvzla Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes