Forums / Extensions / eZ Find / Debian 4 - jre

Debian 4 - jre

Author Message

Andreas Kaiser

Wednesday 27 February 2008 6:24:31 am

Hi,

I've tried to install jre 1.5 on debian 4 without success (asked everywhere and googled a lot for a solutions, but without luck).

Just want to know if somebody is having same problems with jre 1.5 on debian 4 and what linux distribution do you recommend for a test environment of ezp4 and the ez find extension...

Thanks...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Gaetano Giunta

Wednesday 27 February 2008 1:16:28 pm

If all you need to run is ezfind, you can also try out using jre 1.6.

Otoh I installed java 5 jre on etch no prolem: just add the correct tags to your apt sources to enable non-free repos, and you can fetch it straight out of the official repositories. pkg info is here: http://packages.debian.org/etch/sun-java5-jre

here is a "tutorial" that basically amounts to the same info: http://mediakey.dk/~cc/howto-install-sun-java-on-debian-etch/

could you be more specific about your problems / setup?

Principal Consultant International Business
Member of the Community Project Board

Andreas Kaiser

Wednesday 27 February 2008 3:14:25 pm

I get the error when I try to install jre1.5 from non-free package. The error is:


:# apt-get install sun-java5-jre
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
  sun-java5-bin
Suggested packages:
  libnss-mdns sun-java5-plugin ia32-sun-java5-plugin sun-java5-fonts
  ttf-baekmuk ttf-unfonts ttf-unfonts-core ttf-kochi-gothic
  ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
  sun-java5-bin sun-java5-jre
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/29.9MB of archives.
After unpacking 82.8MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
Selecting previously deselected package sun-java5-bin.
(Reading database ... 20193 files and directories currently installed.)
Unpacking sun-java5-bin (from .../sun-java5-bin_1.5.0-14-1etch1_i386.deb) ...
Selecting previously deselected package sun-java5-jre.
Unpacking sun-java5-jre (from .../sun-java5-jre_1.5.0-14-1etch1_all.deb) ...
sun-dlj-v1-1 license has already been accepted
Setting up sun-java5-jre (1.5.0-14-1etch1) ...

Setting up sun-java5-bin (1.5.0-14-1etch1) ...
Could not create the Java virtual machine.
dpkg: error processing sun-java5-bin (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 sun-java5-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Like I said I googled for a solution for this error, but didn't found nothing that worked.

I think the error has to do with OpenVZ (I'm testing on a openvz vps in one of our dedicated server), but all the post I've found are related with memory shortage and my error seems not to be related with the vps memory.

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Kåre Køhler Høvik

Friday 14 March 2008 9:34:08 am

Hi

Try installing the JRE5 available on the Sun Java pages.

Kåre Høvik

eZ debug

Timing: Jan 30 2025 00:15:05
Script start
Timing: Jan 30 2025 00:15:05
Module start 'content'
Timing: Jan 30 2025 00:15:05
Module end 'content'
Timing: Jan 30 2025 00:15:05
Script end

Main resources:

Total runtime0.1786 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 587.8516180.7969
Module start 'content' 0.00710.0070 768.648498.9297
Module end 'content' 0.01410.1644 867.5781527.7734
Script end 0.1785  1,395.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.9211200.0002
Check MTime0.00140.7662200.0001
Mysql Total
Database connection0.00060.333810.0006
Mysqli_queries0.131873.79471410.0009
Looping result0.00110.61261390.0000
Template Total0.164191.910.1641
Template load0.00070.396610.0007
Template processing0.163391.479310.1633
Override
Cache load0.00050.285110.0005
Sytem overhead
Fetch class attribute can translate value0.00050.275510.0005
XML
Image XML parsing0.00020.121610.0002
General
dbfile0.00854.7841200.0004
String conversion0.00000.004330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs