Page 1 of 2

JAVA on Porteus How Installing it ?????

Posted: 09 Jun 2015, 08:05
by papa
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...¡¡

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

Posted: 09 Jun 2015, 08:51
by jimwg
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

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

Posted: 09 Jun 2015, 11:27
by Bogomips
@papa
You need the Java JDK. Download with USM.

@jimwg
No luck with google drive? Try yandisk at yandex.com. 8)

JAVA on Porteus How Installing it ?????

Posted: 09 Jun 2015, 11:37
by Ed_P
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

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

Posted: 09 Jun 2015, 14:01
by Bogomips

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
#? 

JAVA on Porteus How Installing it ?????

Posted: 09 Jun 2015, 16:59
by Slaxmax
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

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

Posted: 10 Jun 2015, 06:21
by papa
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 .....

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

Posted: 10 Jun 2015, 12:52
by Bogomips
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.

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

Posted: 10 Jun 2015, 13:56
by jimwg
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

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

Posted: 10 Jun 2015, 14:18
by francois
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:

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

Posted: 10 Jun 2015, 14:22
by Slaxmax
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.

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

Posted: 10 Jun 2015, 22:41
by papa
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....

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

Posted: 11 Jun 2015, 00:15
by Ed_P
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.

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

Posted: 11 Jun 2015, 02:34
by Slaxmax
Image

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

Posted: 11 Jun 2015, 03:47
by cttan
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/