Page 1 of 1

Can not run under window2000 + Java 1.5

PostPosted:Thu May 01, 2008 9:44 pm
by fengboallan
Here is the photo. it said:
no server Jvm
Can anybody help me ?

thank you

Bo

Re:Can not run under window2000 + Java 1.5

PostPosted:Thu May 01, 2008 9:46 pm
by fengboallan
here is the screen Image

Re:Can not run under window2000 + Java 1.5

PostPosted:Fri May 02, 2008 6:08 am
by jllort
You\'ve not got java_home environment variable, put on windows console \"java -version\" to take a look which java version is getting.

Re:Can not run under window2000 + Java 1.5

PostPosted:Fri May 02, 2008 6:30 am
by fengboallan
thanks, jilort

here is another problem in the picture.

I use windows XP, there is no problem to start openkm. but, under windows 2000, it seems not that easy to get it Image

Re:Can not run under window2000 + Java 1.5

PostPosted:Fri May 02, 2008 7:16 am
by jllort
I see the same screen than in the other post

Re:Can not run under window2000 + Java 1.5

PostPosted:Fri May 02, 2008 2:20 pm
by fengboallan
Hi

I didnot find the the same problem on the forum.

i have already set up the Java_home.but it still does not work.

May I have any solution?

thank you

Bo

Re:Can not run under window2000 + Java 1.5

PostPosted:Fri May 02, 2008 3:47 pm
by jllort
Finally I tryed on a Windows 2000 an not run.

I think there\'s a possible bug on run.bat script, change this line
\"%JAVA%\" -version 2>&1 | findstr /I hotspot > nul
to thi
\"%JAVA%\" -server 2>&1 | findstr /I hotspot > nul

I think is a typewriting error and version parameter must be server

For more information about this take a look at this forum entry:

Tell us if it solves the problem

Re:Can not run under window2000 + Java 1.5

PostPosted:Mon May 05, 2008 12:10 am
by pavila
The JAVA_HOME environment var should point to JDK folder, not JRE one.
Code: Select all
> set JAVA_HOME=C:\\Archivos de programa\\Java\\jdk1.5.0_15

Re:Can not run under window2000 + Java 1.5

PostPosted:Mon May 05, 2008 2:19 am
by fengboallan
thanks

Solved!

Re:Can not run under window2000 + Java 1.5

PostPosted:Wed Jun 11, 2008 4:53 pm
by washy
sorry, not working with me ... where should I put the string JAVA_HOME=...?

I use Windows XP

Re:Can not run under window2000 + Java 1.5

PostPosted:Wed Jun 11, 2008 4:57 pm
by washy
the server is running but ...

18:48:08,474 INFO [Server] JBoss (MX MicroKernel) [4.2
s_4_2_2_GA date=200710221139)] Started in 1m:21s:223ms

http://localhost:8080/OpenKM/ gives error 404

Re:Can not run under window2000 + Java 1.5

PostPosted:Wed Jun 11, 2008 5:20 pm
by pavila
You can set JAVA_HOME in the run.bat file.