You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Ca...@Stuttgarter-Versicherungsgruppe.de on 2003/03/13 10:27:48 UTC
Antwort: Re: build.sh won't run -> FAQ suggestion
Thank you for the tip.
Actually I solved it and have the build.sh runing, but I still don't know, why
...
I had the same problem with the tutorial1.sh. Here is the case:
When I start the skript, which is delivered with the OJB download: I get the
following message:
schnipp----
a322pc@ws0f89:/misc/home/a322pc/db-ojb-1.0.rc1-tutorial> sh bin/tutorial1.sh
: Datei oder Verzeichnis nicht gefunden/test/ojb
: command not foundine 7:
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/ojb/tutorial1/Application
: command not foundine 9:
: Datei oder Verzeichnis nicht gefunden
: Datei oder Verzeichnis nicht gefunden
: Datei oder Verzeichnis nicht gefunden
: command not foundine 13:
a322pc@ws0f89:/misc/home/a322pc/db-ojb-1.0.rc1-tutorial>
schnapp----
What I did to have it run, was to rewrite the same skript in a new file. It
seems like there is a problem with the carriage return (Zeilenumbruch), when the
skript is written on one system and then used on a different one. This was a
ugly one to solve. I suggest to put this solution in a OJB Installation FAQ.
Anyway... the tutorial 1 is up and runing. :-)
Thanks for the help.
Carsten
Dennis Ryan <ry...@mpi.com> on 12.03.2003 18:59:08
Bitte antworten an "OJB Users List" <oj...@db.apache.org>
An: OJB Users List
Kopie: (Blindkopie: Carsten Pörtge)
Thema: Re: build.sh won't run
My German isn't very good, but I believe it is saying
"file or directory not found"
which probably means that the binaries are not executable?
$ chmod +x bin/*.sh
Give that a try.
dennis
Carsten.Poertge@Stuttgarter-Versicherungsgruppe.de wrote:
>
>
> Hello,
>
> I'm trying to install OJB on a linux computer.
> I set the the JAVA_HOME to the JDK1.4.
> I unpacked the OJB file.
> I checked the rights to run the build.sh (rights == 555).
>
> now, I try to run junit, calling it from the ojb-directory:
> bin/build.sh junit
>
> Here I get the message:
> bash: /bin/build.sh: Datei oder Verzeichnis nicht gefunden
>
> Does anyone have an idea, why this won't work?
>
> Thanks for helping in advanced.
>
> Yours sincerely,
> C. Pörtge
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-user-help@db.apache.org
>
>
This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to whom
it is addressed, and may not be saved, copied, printed, disclosed or used by
anyone else. If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org