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

Cant get current package for Java to install on 4.0 system
(10 posts) (3 voices)-
Posted 8 years ago #
-
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-39386Posted 8 years ago # -
And the latest Java 8 Update 111, released October 18, 2016 here:
http://www.mediafire.com/file/3t77pq2b8f7rflr/java8-jre-1.8.0_111.tazpkgPosted 8 years ago # -
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?
Posted 8 years ago # -
Java control center requires bash, leave /bin/sh set to busybox.
Applications/Preferences/Java
or in terminal
jcontrol
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 buttonPosted 8 years ago # -
mojo,
I installed bash and left /bin/sh set to busybox
Under applications/Preferences I do NOT have a Java listingWhen I try and run jcontrol in terminal I get:
root@slitazCPX:/home/user# jcontrol
bash: jcontrol: command not foundPosted 8 years ago # -
Forgot about the required symlink for jcontrol so it's in your path.
Find the absolute path to jcontrol:
tazpkg search-file bin/jcontrol
Search result for file /bin/jcontrol
================================================================================Package java8-jre:
/usr/java/jre1.8.0_40/bin/jcontrol================================================================================
1 file(s) found for: /bin/jcontrolAs root create a symlink from jcontrol to /usr/bin
# ln -sf /usr/lib/java/jre1.*/bin/jcontrol /usr/bin
Reference: http://forum.slitaz.org/topic/installing-java-at-slitaz#post-39033
Posted 8 years ago # -
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?
Posted 8 years ago # -
Both java7 packages have jcontrol:
root@slitaz:/home/tux# tazpkg extract Storage/java7-jre-7u25.tazpkgExtracting: 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-7u25root@slitaz:/home/tux# find java7-jre-7u25/ -name jcontrol
java7-jre-7u25/fs/usr/lib/java/jre1.7.0_25/bin/jcontrolroot@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-7u45root@slitaz:/home/tux# find java7-jre-7u45/ -name jcontrol
java7-jre-7u45/fs/usr/lib/java/jre1.7.0_45/bin/jcontrolAs root create a symlink from jcontrol to /usr/bin
# ln -sf /usr/lib/java/jre1.*/bin/jcontrol /usr/binPosted 8 years ago # -
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!
Posted 8 years ago #
Reply
You must log in to post.