Issue 15661 - Java Environment not detected
Summary: Java Environment not detected
Status: CLOSED DUPLICATE of issue 14282
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Olaf Felka
QA Contact: issues@installation
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-16 03:36 UTC by jdeisenberg
Modified: 2003-09-08 16:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description jdeisenberg 2003-06-16 03:36:56 UTC
OpenOffice.org1.0.2 properly detected Java; OpenOffice.org1.1Beta2 does not.
My $JAVA_HOME is not set, so I browsed to /usr/local/j2sdk1.4.0, which is where
Java was when recognized by 1.0.2

Here is my javarc from OpenOffice.org1.0.2; the files it references have not
moved or changed. (I also tried with the j2sdk1.4.1 downloaded from ooo.ximian;
it doesn't recognize it either.)
 
[Install]
InstallationPath=.
CPLD=0
AdditionalClasspath=<OFFICE_CLASSDIR>/classes.jar:<OFFICE_CLASSDIR>/sandbox.jar:<OFFICE_CLASSDIR>/ridl.jar:<OFFICE_CLASSDIR>/unoil.jar:<OFFICE_CLASSDIR>/jurt.jar:<OFFICE_CLASSDIR>/juh.jar:<OFFICE_CLASSDIR>/java_uno.jar:<OFFICE_CLASSDIR>/xt.jar:<OFFICE_CLASSDIR>/jaxp.jar
VerifiedVersion=1.4.0_01
RequiredVersion=1.3.1
ExcludeVersion=1.1.6 1.1.7b 1.1.7B 1.1.8 1.2.1

[Java]
Home=/usr/local/j2sdk1.4.0
VMType=jdk
Version=1.4.0
RuntimeLib=/usr/local/j2sdk1.4.0/jre/lib/i386/client/libjvm.so
JavaLibPath=/usr/local/j2sdk1.4.0/jre/lib/i386:/usr/local/j2sdk1.4.0/jre/lib/i386/client:/usr/local/j2sdk1.4.0/jre/lib/i386/native_threads
Comment 1 Olaf Felka 2003-06-16 09:11:28 UTC
As announced as a new feature, we have raised the java requirements.
Windows Java.ini:
[Install]
InstallationPath=.
CPLD=0
AdditionalClasspath=<OFFICE_CLASSDIR>\classes.jar;<OFFICE_CLASSDIR>\sandbox.jar;<OFFICE_CLASSDIR>\ridl.jar;<OFFICE_CLASSDIR>\unoil.jar;<OFFICE_CLASSDIR>\jurt.jar;<OFFICE_CLASSDIR>\juh.jar;<OFFICE_CLASSDIR>\java_uno.jar;<OFFICE_CLASSDIR>\xt.jar;<OFFICE_CLASSDIR>\jaxp.jar;<OFFICE_CLASSDIR>\java_uno_accessbridge.jar;<OFFICE_CLASSDIR>\aportisdoc.jar;<OFFICE_CLASSDIR>\htmlsoff.jar;<OFFICE_CLASSDIR>\jmc.jar;<OFFICE_CLASSDIR>\minicalc.jar;<OFFICE_CLASSDIR>\pexcel.jar;<OFFICE_CLASSDIR>\pocketword.jar;<OFFICE_CLASSDIR>\XFlatXml.jar;<OFFICE_CLASSDIR>\xmerge.jar;<OFFICE_CLASSDIR>\XMergeBridge.jar;
RequiredVersion=1.4.0_02
ExcludeVersion=1.4.1

[Java]
Home=file:///E:/Program%20Files/Java/j2re1.4.1_01
VMType=JRE
Version=1.4.1_01
RuntimeLib=file:///E:/Program%20Files/Java/j2re1.4.1_01/bin/client/jvm.dll
SystemClasspath=F:\OpenOffice.org1.1\program\classes\classes.jar;F:\OpenOffice.org1.1\program\classes\sandbox.jar;F:\OpenOffice.org1.1\program\classes\ridl.jar;F:\OpenOffice.org1.1\program\classes\unoil.jar;F:\OpenOffice.org1.1\program\classes\jurt.jar;F:\OpenOffice.org1.1\program\classes\juh.jar;F:\OpenOffice.org1.1\program\classes\java_uno.jar;F:\OpenOffice.org1.1\program\classes\xt.jar;F:\OpenOffice.org1.1\program\classes\jaxp.jar;F:\OpenOffice.org1.1\program\classes\java_uno_accessbridge.jar;F:\OpenOffice.org1.1\program\classes\aportisdoc.jar;F:\OpenOffice.org1.1\program\classes\htmlsoff.jar;F:\OpenOffice.org1.1\program\classes\jmc.jar;F:\OpenOffice.org1.1\program\classes\minicalc.jar;F:\OpenOffice.org1.1\program\classes\pexcel.jar;F:\OpenOffice.org1.1\program\classes\pocketword.jar;F:\OpenOffice.org1.1\program\classes\XFlatXml.jar;F:\OpenOffice.org1.1\program\classes\xmerge.jar;F:\OpenOffice.org1.1\program\classes\XMergeBridge.jar;
Java=1
JavaScript=1
Applets=1

Comment 2 Olaf Felka 2003-06-16 09:11:47 UTC
Requirements cahanged.
Comment 3 jdeisenberg 2003-06-16 16:23:43 UTC
I went to blackdown.org, did an FTP from
ftp://metalab.unc.edu/pub/linux/devel/lang/java/blackdown.org/JDK-1.4.1/i386/01,

and installed j2sdk-1.4.1-01-linux-i586-gcc3.2.bin on RedHat 8.0, and
the OpenOffice.org install still says I don't have a Java environment.
So, which version of 1.4.1 do I _really_ need?
Comment 4 Olaf Felka 2003-06-17 08:52:18 UTC
What you describe is issue 14282: We can't detect blackdown java. This
is fixed for the next version.
Posted on features-unsubscribe@api.openoffice.org:
Quote:
Description

StarOffice and OpenOffice now need a SUN Java 1.4.0_02 or higher. The
exception is version 1.4.1 which is not supported, but version
1.4.1_01 and higher are.
This requirement is valid for these platforms:
-Solaris SPARC
-Linux x86
-Windows

Reason for this requirement is that new features, such as
accessibility, depend on the new versions.


*** This issue has been marked as a duplicate of 14282 ***
Comment 5 Olaf Felka 2003-06-17 08:53:02 UTC
Invalid because changed requirements and dupe to 14282.