Strarting problm with ofbiz on windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Strarting problm with ofbiz on windows

G.Venkata Phanindra
Hi I am facing with the following problem while running ofbiz on windows
BUILD FAILED
D:\Workspace\ofbiz\build.xml:99: The following error occurred while
executing this line:
D:\Workspace\ofbiz\framework\build.xml:129: The following error occurred
while executing this line:
D:\Workspace\ofbiz\framework\service\build.xml:91: Cannot use SUN rmic, as
it is not available.  A common solution is to set the environment variable
JAVA_HOME or CLASSPATH.

I have added java_home and also in class path .. both javac and java are
accessible from my command prompt.
Please tell me what could be the problem.

--
G.Venkata Phanindra
Mob:: 9849852989
Reply | Threaded
Open this post in threaded view
|

Re: Strarting problm with ofbiz on windows

Amine AZZI
Hi, Make sure that the path to JAVA_HOME doesn't have any blank character.

Amine.

2007/3/10, G.Venkata Phanindra <[hidden email]>:

>
> Hi I am facing with the following problem while running ofbiz on windows
> BUILD FAILED
> D:\Workspace\ofbiz\build.xml:99: The following error occurred while
> executing this line:
> D:\Workspace\ofbiz\framework\build.xml:129: The following error occurred
> while executing this line:
> D:\Workspace\ofbiz\framework\service\build.xml:91: Cannot use SUN rmic, as
> it is not available.  A common solution is to set the environment variable
> JAVA_HOME or CLASSPATH.
>
> I have added java_home and also in class path .. both javac and java are
> accessible from my command prompt.
> Please tell me what could be the problem.
>
> --
> G.Venkata Phanindra
> Mob:: 9849852989
>
Reply | Threaded
Open this post in threaded view
|

Re: Strarting problm with ofbiz on windows

Jörg Herbst
In reply to this post by G.Venkata Phanindra
Hi, you shoul check you're JDK Version. Try the following, type:
- java -version and
- echo %JAVA_HOME%

You should see the version and the path to the you're JDK. Check if this
is a version which is
supported by ofbiz or post the result back to the list.

Greetings
Joerg

> Hi I am facing with the following problem while running ofbiz on windows
> BUILD FAILED
> D:\Workspace\ofbiz\build.xml:99: The following error occurred while
> executing this line:
> D:\Workspace\ofbiz\framework\build.xml:129: The following error occurred
> while executing this line:
> D:\Workspace\ofbiz\framework\service\build.xml:91: Cannot use SUN
> rmic, as
> it is not available.  A common solution is to set the environment
> variable
> JAVA_HOME or CLASSPATH.
>
> I have added java_home and also in class path .. both javac and java are
> accessible from my command prompt.
> Please tell me what could be the problem.
>

Reply | Threaded
Open this post in threaded view
|

Re: Strarting problm with ofbiz on windows

Ashish Vijaywargiya-3
In reply to this post by Amine AZZI
Amie,

By default Jdk5 is installed in Program Files directory if user don't select
any location from its own.
>>Make sure that the path to JAVA_HOME doesn't have any blank character
If I remember correctly this blank character problem has been resolved long
time back on Windows.
http://issues.apache.org/jira/browse/OFBIZ-486

So Phani can you please give more log details and offcourse let me know
which version of jdk you are using.

On 3/10/07, Amine AZZI <[hidden email]> wrote:

>
> Hi, Make sure that the path to JAVA_HOME doesn't have any blank character.
>
> Amine.
>
> 2007/3/10, G.Venkata Phanindra <[hidden email]>:
> >
> > Hi I am facing with the following problem while running ofbiz on windows
> > BUILD FAILED
> > D:\Workspace\ofbiz\build.xml:99: The following error occurred while
> > executing this line:
> > D:\Workspace\ofbiz\framework\build.xml:129: The following error occurred
> > while executing this line:
> > D:\Workspace\ofbiz\framework\service\build.xml:91: Cannot use SUN rmic,
> as
> > it is not available.  A common solution is to set the environment
> variable
> > JAVA_HOME or CLASSPATH.
> >
> > I have added java_home and also in class path .. both javac and java are
> > accessible from my command prompt.
> > Please tell me what could be the problem.
> >
> > --
> > G.Venkata Phanindra
> > Mob:: 9849852989
> >
>



--
Regards
Ashish Vijaywargiya
Aditisoft Technology Laboratory
http://www.adititechlabs.com

Office : 509.855.4113
Cell    : 91-989-347-9711
Reply | Threaded
Open this post in threaded view
|

Re: Strarting problm with ofbiz on windows

Imre András Róbert
In reply to this post by G.Venkata Phanindra
Monday, March 12, 2007, 12:16 AM, you wrote:
>By default Jdk5 is installed in Program Files directory if user don't select
>any location from its own.
>>>Make sure that the path to JAVA_HOME doesn't have any blank character
>If I remember correctly this blank character problem has been resolved long
>time back on Windows.
>http://issues.apache.org/jira/browse/OFBIZ-486

Actually there were at least one more problem relating
jdk5 and special characters which is known to be solved with
rev 505358. You may find details in this thread:
Running demo service testScv via ExampleRemoteClient

What version of ofbiz (?opentaps) do you use, Phani?


Regards,
  András