You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Jaime Jimenez <Ja...@infolan.es> on 2002/03/11 12:33:25 UTC

JAVA_HOME

Hi,

First of all, sorry for my english, because is not very well.

My problem is this, when I want execute the archive runtest.bat, the error is this : 
Fop Test
----------------
ERROR: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.

Can you explain me how to resolve this problem.

thks
jaime



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: JAVA_HOME

Posted by Mark Bitz <ma...@hotmail.com>.
Jamie,
I will assume that your running on a windows platfrom since you ran the
runtest.bat file. I don't have a windows 95/98/NT machine in front of me,
but they are probably close to this procedure.

you need to set an environment variable call JAVA_HOME to the subdirectory
in which your jsdk is installed..

from the desktop:
you can set an environment variable in windows 2000 by:

right clicking on "my computer" and selecting "properties"
then
click on the "advanced" tap at the top,
then
click on the "environment variables" button
then
click on the "New" button under system variables window
and type in the variable name "JAVA_HOME"
then under the variable value type in the subdirectory that you installed
your java program...
    (ie.. i am using j2sdk1.4.0-rc so I would type in c:\j2sdk1.4.0-rc)
then click on ok..

to verify that your environment variable got installed you can open a DOS
session and type "set" at the prompt. This will list out all the environment
variables.

from the dos prompt you can set the JAVA_HOME environment variable also,
however, the scope of the variable will only last for that DOS session that
you set the variable in. If you close that DOS windows the variable also
goes away.
from the DOS prompt type

set JAVA_HOME=c:\j2sdk1.4.0-rc

this will set the JAVA_HOME environment variable, but it will only be for
current DOS session.

hope this helps.

Mark


----- Original Message -----
From: "Jaime Jimenez" <Ja...@infolan.es>
To: <fo...@xml.apache.org>
Sent: Monday, March 11, 2002 6:33 AM
Subject: JAVA_HOME


Hi,

First of all, sorry for my english, because is not very well.

My problem is this, when I want execute the archive runtest.bat, the error
is this :
Fop Test
----------------
ERROR: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.

Can you explain me how to resolve this problem.

thks
jaime



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


AW: JAVA_HOME

Posted by Adnan Zelkanovic <a....@allgaeu.net>.
You have to run the following commands:

under Linux:

	export JAVA_HOME=(path to your JDK directory)            (f.e. export
JAVA_HOME=/usr/java/jdk131)

under Windows: (at the command line)

	set JAVA_HOME=(path to your JDK directory)               (f.e. set
JAVA_HOME=c:/java/jdk131)




-----Ursprungliche Nachricht-----
Von: Jaime Jimenez [mailto:Jaime.Jimenez@infolan.es]
Gesendet: Montag, 11. Marz 2002 12:33
An: fop-dev@xml.apache.org
Betreff: JAVA_HOME


Hi,

First of all, sorry for my english, because is not very well.

My problem is this, when I want execute the archive runtest.bat, the error
is this :
Fop Test
----------------
ERROR: JAVA_HOME not found in your environment.
Please, set the JAVA_HOME variable in your environment to match the
location of the Java Virtual Machine you want to use.

Can you explain me how to resolve this problem.

thks
jaime



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Vertical align

Posted by Henrik Holle <he...@megatel.de>.
Hi,

Is it possible to set the vertical-align to a specific value?

I tried this:

			<fo:block font-size="12pt"
	
font-family="sans-serif"
	
line-height="5pt"
	
space-after.optimum="3pt"
	
text-align="start">
	Das ist ein  <fo:inline vertical-align="sub"
font-size="4pt">TEST</fo:inline>
			</fo:block>


But the text "TEST" is displayed too low, nearly intersects with the
next line.


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org