JAVA on Porteus How Installing it ?????

Post here if you are a new Porteus member and you're looking for some help.
papa
White ninja
White ninja
Posts: 4
Joined: 09 Jun 2015, 07:30
Distribution: Porteus
Location: new york

JAVA on Porteus How Installing it ?????

Post#1 by papa » 09 Jun 2015, 08:05

I want to install Java for learn some java(programming ) im newbie .. do i have to download the deafualt packages that came with Porteus in my case is gcc-java-4.8.2-i486-1.txz(search it usm -s java and thats the only one ) ? i search a lot in the internet but there are alot of diferents ways to do it ... do i need to install jdk ?? for example.. i have to do the painfully process of make a module (wich i dont how to do it ..) ... i know i have to change the path but i dont no how to do it on Porteus...


Thanks...¡¡

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: JAVA on Porteus How Installing it ?????

Post#2 by jimwg » 09 Jun 2015, 08:51

Hi!

I have jre-8u31-i586-1.xzm but keep being kicked off from uploading my modules to Porteus-apps
http://www.porteus-apps.org/ because Forbidden privileges. If you can give me an address or site to upload it to you along with other stuff I've converted like OpenOffice and WPS KingsoftOffice and SoftOffice which I really want to get into other Porteus users hands.

Jim in NYC

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: JAVA on Porteus How Installing it ?????

Post#3 by Bogomips » 09 Jun 2015, 11:27

@papa
You need the Java JDK. Download with USM.

@jimwg
No luck with google drive? Try yandisk at yandex.com. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

JAVA on Porteus How Installing it ?????

Post#4 by Ed_P » 09 Jun 2015, 11:37

papa wrote:do i have to download the deafualt packages that came with Porteus
This approach works for me and is very easy to do: Tip: Build your own Java Oracle module
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: JAVA on Porteus How Installing it ?????

Post#5 by Bogomips » 09 Jun 2015, 14:01

Code: Select all

root@porteus:/home/guest# usm -g openjdk

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) openjdk-7u51_b31-i486-1alien.txz  3) openjdk-7u79_b14-i486-2sl.txz
2) openjdk-7u79_b14-i486-2alien.txz
#? 
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

JAVA on Porteus How Installing it ?????

Post#6 by Slaxmax » 09 Jun 2015, 16:59

I've had problems with java opensource.
If you need firefox Java plugin not recommend the opensource version because of bugs with the plugin (icedtea).
Better to install the java version oracle.


if you need JDK (sdk java) download here tar.gz
http://www.oracle.com/technetwork/pt/ja ... index.html

and follow this
Tip: Build your own Java Oracle module
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

papa
White ninja
White ninja
Posts: 4
Joined: 09 Jun 2015, 07:30
Distribution: Porteus
Location: new york

Re: JAVA on Porteus How Installing it ?????

Post#7 by papa » 10 Jun 2015, 06:21

when install it get this error :

Code: Select all

 Installing to system

+==============================================================================
| Installing new package /tmp/usm/openjdk-7u79_b14-i486-2sl.txz
+==============================================================================

Verifying package openjdk-7u79_b14-i486-2sl.txz.
xz: (stdin): Unexpected end of input
Unable to install /tmp/usm/openjdk-7u79_b14-i486-2sl.txz:  tar archive is corrupt (tar returned error code 2)
If i have to make a module i get rid of this fucking porteus shit.... i dont spend my time downloading a java builder to someone i dont know ... that is stupid .... I want for programming ... no for the crome or firefox...
=@


Thanks .....

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: JAVA on Porteus How Installing it ?????

Post#8 by Bogomips » 10 Jun 2015, 12:52

Before slagging off Porteus you have to know you are doing it wrong anyway. This comes from lack of knowledge of the system, and we all have to make mistakes as we learn how the system functions.

Code: Select all

root@porteus:/home/guest# usm -g openjdk

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) openjdk-7u51_b31-i486-1alien.txz  3) openjdk-7u79_b14-i486-2sl.txz
2) openjdk-7u79_b14-i486-2alien.txz
#? 3

Processing:   openjdk-7u79_b14-i486-2sl.txz 
Ignored libraries: 

Libraries required:  71
Libraries found in system: 62
Libraries to resolve: 9

Processing library: libawt.so
Processing library: libcups.so.2

 More than one package contains:  libcups.so.2
cups-1.5.4-i486-3.txz        1856K  slackware
aaa_elflibs-14.1-i486-3.txz  4708K  slackware

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) cups-1.5.4-i486-3.txz
2) aaa_elflibs-14.1-i486-3.txz
#? 1
Processing library: libjava.so
Processing library: libjli.so
Processing library: libjvm.so
Processing library: libmawt.so
Processing library: libnet.so
Processing library: libnio.so
Processing library: libverify.so


Processing:   cups-1.5.4-i486-3.txz 
Ignored libraries: 

Libraries required:  27
Libraries found in system: 21
Libraries to resolve: 6

Processing library: libcups.so.2
Processing library: libcupscgi.so.1
Processing library: libcupsdriver.so.1
Processing library: libcupsimage.so.2
Processing library: libcupsmime.so.1
Processing library: libcupsppdc.so.1


 The following packages are required. 
cups-1.5.4-i486-3.txz [1856K] [not installed]
openjdk-7u79_b14-i486-2sl.txz [100719K] [not installed]

Total size: 102 MB

 Multiple packages were detected.
 Would you like to merge the packages into one module? [y/n]

 Press [r] to remove packages, [q] to quit, or enter to start downloading.
Now 'y' should have been pressed, after which you would have got a module, which you then had to activate.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

jimwg
Shogun
Shogun
Posts: 322
Joined: 09 Oct 2013, 18:15
Distribution: porteus
Location: NYC

Re: JAVA on Porteus How Installing it ?????

Post#9 by jimwg » 10 Jun 2015, 13:56

Greetings All!


First try with online disks. Hope this works. You can (should) find Java modules and foe WPS-Kingsoft and SoftText and others.

https://drive.google.com/folderview?id= ... sp=sharing

Jim in NYC

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: JAVA on Porteus How Installing it ?????

Post#10 by francois » 10 Jun 2015, 14:18

If papa is in a bad mood, maybe he should have some sleep before coming back to this forum. As an alternative to sleep there is a pretty good section for him called porteus haters:
Porteus Haters

:wink:
Prendre son temps, profiter de celui qui passe.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: JAVA on Porteus How Installing it ?????

Post#11 by Slaxmax » 10 Jun 2015, 14:22

papa wrote:when install it get this error :

Code: Select all

 Installing to system

+==============================================================================
| Installing new package /tmp/usm/openjdk-7u79_b14-i486-2sl.txz
+==============================================================================

Verifying package openjdk-7u79_b14-i486-2sl.txz.
xz: (stdin): Unexpected end of input
Unable to install /tmp/usm/openjdk-7u79_b14-i486-2sl.txz:  tar archive is corrupt (tar returned error code 2)
If i have to make a module i get rid of this fucking porteus shit.... i dont spend my time downloading a java builder to someone i dont know ... that is stupid .... I want for programming ... no for the crome or firefox...
=@


Thanks .....
More respect guy.
With stupidity did not go anywhere.
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

papa
White ninja
White ninja
Posts: 4
Joined: 09 Jun 2015, 07:30
Distribution: Porteus
Location: new york

Re: JAVA on Porteus How Installing it ?????

Post#12 by papa » 10 Jun 2015, 22:41

Sorry but your incompetencies to reply a clearly to someone who is newbie is painfuly annoying ... I just want to programming in java ... for that i havve to download a JDK i download and throw me and error ... right now i still waiting an answer....

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: JAVA on Porteus How Installing it ?????

Post#13 by Ed_P » 11 Jun 2015, 00:15

papa I suspect the file you downloaded didn't download completely. Try redownloading it. You can also try the option Slaxmax suggested.

And if all else fails you can try a different version of Linux.
Ed

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Re: JAVA on Porteus How Installing it ?????

Post#14 by Slaxmax » 11 Jun 2015, 02:34

Image
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

cttan
Shogun
Shogun
Posts: 333
Joined: 26 Jan 2011, 16:15
Distribution: Porteus 3.2 and 4.0 64bit KDE
Location: Malaysia

Re: JAVA on Porteus How Installing it ?????

Post#15 by cttan » 11 Jun 2015, 03:47

Hi papa,

You will need a Java IDE as well.
Below is example from 64bit system. Your output should be different.

Code: Select all

# usm -g eclipse nodeps

 The following items were found.
 Choose an number to confirm. 
 ctrl+c to quit

1) eclipse-4.4-x86_64-6_slack.txz
2) eclipse-cpp-4.4.2-x86_64-3_slack.txz
3) eclipse-java-4.4.2-x86_64-5_slack.txz
4) eclipse-jee-4.4.2-x86_64-4_slack.txz
#? 3
If nothing appear, then maybe try to download and convert txz module from slackonly:-
https://slackonly.com/pub/packages/14.1-x86/

Post Reply