[packman] [PM] datacrow 3.4.8-0.pm.1 (openSUSE 11.1/i586)

Hartmut spieluhr at ewetel.net
Fri Apr 10 22:05:53 CEST 2009


Toni schrieb:
> Am Freitag, 10. April 2009 schrieb Hartmut:
>   
>> Toni schrieb:
>>     
>>> Am Donnerstag, 9. April 2009 schrieb:
>>>       
>>>> Toni schrieb:
>>>>         
>>>>> Am Donnerstag, 9. April 2009 schrieb:
>>>>>           
>>>>>> Toni schrieb:
>>>>>>             
>>>>>>>> I don't know the difference between gcj and opensdk, can not even
>>>>>>>> tell which version is installed. The version of java which is
>>>>>>>> installed worked properly with the version 3.4.4 of datacrow. It
>>>>>>>> makes no difference, if I install java 1.6 or 1.7 ...
>>>>>>>>
>>>>>>>> Hartmut
>>>>>>>>                 
>>>>>>> you need java-1.6 (from sun or openjdk)
>>>>>>> and you must enable it with
>>>>>>> update-alternatives --config java
>>>>>>>
>>>>>>> to select 1.6 instead of 1.5
>>>>>>>
>>>>>>>
>>>>>>> I'm also wondering how you could install datacrow ...
>>>>>>>
>>>>>>> the package NEEDS java-1.6 and it is well defined as a requires:
>>>>>>> Requires:		java >= 1.6
>>>>>>>
>>>>>>> so please don't force packages to your system, always use YaST and or
>>>>>>> zypper to install packages.
>>>>>>>
>>>>>>> It takes endless time to help in such cases if the basic rules for
>>>>>>> administration are not followed by the user  :(
>>>>>>>
>>>>>>> -- have fun Toni
>>>>>>>               
>>>>>> 1.) I wrote: it makes no difference, if I install java 1.5 or 1.6
>>>>>> 2.) I don't know how to "enable it with update-alternatives --config
>>>>>> java"
>>>>>>             
>>>>> open a console
>>>>> su root
>>>>> <enter root-password>
>>>>> update-alternatives --config java
>>>>>
>>>>> a screen similar to this should appear:
>>>>> oc2pus:/home/toni # update-alternatives --config java
>>>>>
>>>>> There are 2 programs which provide `java'.
>>>>>
>>>>>   Selection    Command
>>>>> -----------------------------------------------
>>>>>       1        /usr/lib/jvm/jre-1.5.0-sun/bin/java
>>>>> *+    2        /usr/lib/jvm/jre-1.6.0-sun/bin/java
>>>>>
>>>>> Enter to keep the default[*], or type selection number:
>>>>>
>>>>> select the version (in this case 2) and press "Enter"-key
>>>>>
>>>>>           
>>>>>> 3.) I always use yast to install packages
>>>>>>             
>>>>> so java-1.6 must be installed.
>>>>>
>>>>>           
>>>>>> 4.) If I use java 1.6 I cannot use TV-Browser, because it crashes very
>>>>>> often 5.) from the Readme.txt of datacrow 3.4.8: "Data Crow needs
>>>>>> Java: * JRE 1.5 or higher from Sun (http://java.sun.com/)"
>>>>>>             
>>>>> yes and no.
>>>>> I compiled it with java-1.6 ... so you need java-1.6
>>>>>
>>>>> same for tvbrowser, it needs java-1.6
>>>>>           
>>>> If I install java 1.6, datacrow apears with this message:
>>>>
>>>> " Data Crow was unable to create the images directory. This indicates
>>>> that the user running Data Crow has insufficient permissions. The user
>>>> running Data Crow must have full control over the Data Crow folder and
>>>> all if its sub directories."
>>>>
>>>> I have full control over my directory ./datacrow ...
>>>> And if I delete ./datacrow it is created at startup and the message
>>>> apears.
>>>>         
>>> delete $HOME/.datacrow
>>> open a console and start datacrow with the command:
>>> datacrow.sh
>>>
>>> and post me the output of the console.
>>>
>>> btw: you can write also in german if you prefer :)
>>>
>>> and please please: CC the mailinglist of packman for future answers.
>>>       
>> hartmut at Jupiter:~> datacrow.sh
>>
>> starting datacrow ...
>> creating local working directory /home/hartmut/.datacrow ...
>> changing to local working directory ~/.datacrow ...
>> launching datacrow ...
>> java virtual machine used: /usr/lib64/jvm/jre/bin/java
>> classpath used:
>> ./datacrow.jar:./help/:/usr/share/java/BrowserLauncher2-all.jar:/usr/share/
>> java/hsqldb.jar:/usr/share/java/jaudiotagger.jar:/usr/share/java/JTattoo.jar
>> :/usr/share/java/laf-plugin.jar:/usr/share/java/liquidlnf.jar:/usr/share/jav
>> a/metadata-extractor.jar:/usr/share/java/skinlf.jar:/usr/share/java/jakarta-
>> commons-logging.jar:/usr/share/java/log4j.jar:/usr/share/java/xalan-j2.jar:/
>> usr/share/java/xalan-j2-serializer.jar:/usr/share/java/xerces-j2.jar:/usr/sh
>> are/java/xsltc.jar:/usr/share/java/datacrow/lib/xml/commons-io-1.3.1.jar:/us
>> r/share/java/datacrow/lib/xml/xmlgraphics-commons-1.2.jar:/usr/share/java/da
>> tacrow/lib/xml/avalon-framework-4.2.0.jar:/usr/share/java/datacrow/lib/html/
>> cobra.jar:/usr/share/java/datacrow/lib/html/js.jar:/usr/share/java/datacrow/
>> lib/jacksum.jar:/usr/share/java/datacrow/lib/jetty/jetty-6.1.14.jar:/usr/sha
>> re/java/datacrow/lib/jetty/core-3.1.1.jar:/usr/share/java/datacrow/lib/jetty
>> /ant-1.6.5.jar:/usr/share/java/datacrow/lib/jetty/jetty-util-6.1.14.jar:/usr
>> /sh
>> are/java/datacrow/lib/jetty/jsp-api-2.1.jar:/usr/share/java/datacrow/lib/je
>> tty/servlet-api-2.5-6.1.14.jar:/usr/share/java/datacrow/lib/jhall.jar:/usr/s
>> hare/java/datacrow/lib/jebml.jar:/usr/share/java/datacrow/lib/openchart_1_2.
>> jar:/usr/share/java/datacrow/datacrow.jar main class used:
>> net.datacrow.core.DataCrow
>> flags used: -Xmx1024m
>> options used:
>> arguments used: -dir:/home/hartmut/.datacrow
>>
>>     
> so the class version error is gone, seems you use the correct java version 
> now.
>
> So the remaining questions: 
> datacrow started ? 
> works ?
> no more help needed ? 
> problem solved ?
>
> from the given output of the datacrow.sh script I guess the problem is solved.
>
>   
No, the problem is still there. This message is the last thing I see
from datacrow:

" Data Crow was unable to create the images directory. This indicates
that the user running Data Crow has insufficient permissions. The user
running Data Crow must have full control over the Data Crow folder and
all if its sub directories."

If I answer it with OK, that was it ...

But don't worry, I have a new problem: tvbrowswer crashes, because I use the "right" java-version.

Hartmut





More information about the Packman mailing list