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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 30 2025 21:39:48
Script start
Timing: Jan 30 2025 21:39:48
Module start 'layout'
Timing: Jan 30 2025 21:39:48
Module start 'content'
Timing: Jan 30 2025 21:39:49
Module end 'content'
Timing: Jan 30 2025 21:39:49
Script end

Main resources:

Total runtime0.8705 sec
Peak memory usage8,192.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 588.1328151.1953
Module start 'layout' 0.00500.0043 739.3281220.6563
Module start 'content' 0.00930.8602 959.98444,507.8516
Module end 'content' 0.86960.0009 5,467.835915.8750
Script end 0.8704  5,483.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3852160.0002
Check MTime0.00120.1370160.0001
Mysql Total
Database connection0.00080.091310.0008
Mysqli_queries0.773488.8462640.0121
Looping result0.00070.0847620.0000
Template Total0.815193.620.4076
Template load0.00180.206220.0009
Template processing0.813393.432320.4066
Template load and register function0.00130.150310.0013
states
state_id_array0.00190.215710.0019
state_identifier_array0.00160.184920.0008
Override
Cache load0.00150.1683240.0001
Sytem overhead
Fetch class attribute can translate value0.00200.229130.0007
Fetch class attribute name0.00240.272570.0003
XML
Image XML parsing0.00440.501830.0015
class_abstraction
Instantiating content class attribute0.00000.002280.0000
General
dbfile0.00400.4640270.0001
String conversion0.00000.004140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs