SliTaz SliTaz Forum

You are not logged in.

#1 2016-11-28 18:57:47

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Cant get current package for Java to install on 4.0 system

I am running 4.0 stable and cannot get JAVA to install correctly. I am thinking the link in the package has changed. I need java (preferably an older one) to configure some legacy external HP JetDirect Boxes. Please help

Offline

#2 2016-11-29 00:05:10

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cant get current package for Java to install on 4.0 system

Download links on these posts for java-jre7 and java-jre8:

http://forum.slitaz.org/topic/trouble-installing-java6-jre#post-26775

http://forum.slitaz.org/topic/minecraft-on-slitaz-40#post-39386

Offline

#3 2016-11-29 00:40:10

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Cant get current package for Java to install on 4.0 system

And the latest Java 8 Update 111, released October 18, 2016 here:

http://www.mediafire.com/file/3t77pq2b8f7rflr/java8-jre-1.8.0_111.tazpkg

Offline

#4 2016-11-29 15:17:38

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cant get current package for Java to install on 4.0 system

Ok Mojo, thanks. I installed Java7 and its  now running the plugin in  Mozilla  and Midori. However when I try and run the config page for my print server I keep getting: Application Blocked by Security Settings     Your Security settings have blocked an application from running with an out-of-date or  expired version of Java.

Again, Im trying to configure some pretty old HP jet direct devices, so the older the java the better.

Howo do I access the Java control panel to see if I can add the exception in the security settings? IS that possible?

Offline

#5 2016-11-29 18:26:22

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cant get current package for Java to install on 4.0 system

Java control center requires bash, leave /bin/sh set to busybox.

Applications/Preferences/Java

or in terminal

[c]jcontrol[/c]

Not sure if what your trying to do is possible.

It will be trial and error,start with this:

Go to the Advanced tab and choose every (not recommended) setting and click Apply button

Offline

#6 2016-11-29 20:58:49

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cant get current package for Java to install on 4.0 system

mojo,

  I installed bash and left /bin/sh set to busybox

Under applications/Preferences I do NOT have a Java listing

When I try and run jcontrol in terminal I get:

root@slitazCPX:/home/user# jcontrol

bash: jcontrol: command not found

Offline

#7 2016-11-30 01:26:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cant get current package for Java to install on 4.0 system

Forgot about the  required symlink for jcontrol so it's in your path.

Find the absolute path to jcontrol:

[c]tazpkg search-file bin/jcontrol[/c]

Search result for file /bin/jcontrol

================================================================================

Package java8-jre:

/usr/java/jre1.8.0_40/bin/jcontrol

================================================================================

1 file(s) found for: /bin/jcontrol

As root create a symlink from jcontrol to /usr/bin

[c]# ln -sf /usr/lib/java/jre1.*/bin/jcontrol /usr/bin[/c]

Reference: http://forum.slitaz.org/topic/installing-java-at-slitaz#post-39033

Offline

#8 2016-12-01 17:05:05

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cant get current package for Java to install on 4.0 system

Mojo, Tried  this and Jcontrol is still not working.  I installed the java 7 package. Do I need to install the java 8 package to get this feature?

Offline

#9 2016-12-02 01:07:40

mojo
Administrator
Registered: 2011-03-29
Posts: 2,173

Re: Cant get current package for Java to install on 4.0 system

Both java7 packages have jcontrol:

root@slitaz:/home/tux# tazpkg extract Storage/java7-jre-7u25.tazpkg

Extracting: java7-jre-7u25

================================================================================

Copying original package...                                          [ OK ]

Extracting java7-jre-7u25...                                         [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

================================================================================

java7-jre-7u25 is extracted to: java7-jre-7u25

root@slitaz:/home/tux# find java7-jre-7u25/ -name jcontrol

java7-jre-7u25/fs/usr/lib/java/jre1.7.0_25/bin/jcontrol

root@slitaz:/home/tux# tazpkg extract Storage/java7-jre-7u45.tazpkg

Extracting: java7-jre-7u45

================================================================================

Copying original package...                                          [ OK ]

Extracting java7-jre-7u45...                                         [ OK ]

Extracting the pseudo fs... (lzma)                                   [ OK ]

================================================================================

java7-jre-7u45 is extracted to: java7-jre-7u45

root@slitaz:/home/tux# find java7-jre-7u45/ -name jcontrol

java7-jre-7u45/fs/usr/lib/java/jre1.7.0_45/bin/jcontrol

As root create a symlink from jcontrol to /usr/bin

# ln -sf /usr/lib/java/jre1.*/bin/jcontrol /usr/bin

Offline

#10 2016-12-02 19:07:10

VERAULT
Member
Registered: 2011-07-29
Posts: 119

Re: Cant get current package for Java to install on 4.0 system

That did it!  Jcontrol is now  loading and  with the security settings modified  I am now able to run the Jet Direct application! Thank you mojo and Aleksej for helping me out!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]