Hello
I'm trying to install the new J2EE SDK 1.4 on RedHat Fedora Linux. Currently I have J2SE SDK 1.4.2_02 installed on my system, and I have several Java applications installed and everything works perfectly.
But when I try to install the J2EE SDK I get various errors:
1. First I got an error in the console telling me that they can't connect to X on :0.0 and to run the software from the console using -console.
2. After running the application from the console I get another error, this time they told me that they required motif libraries.
3. After installing openmotif and rerunning the installer I got an error in a graphical dialog that says that the installer didn't found Java installed, and recomends me to use the param -javahome.
After this step I can't continue. I have installed the last J2SE SDK version from Sun, the self extract version first, after that the RPM version. Still I get the same error no mather what I put after the -javahome parameter. I have tried /usr/java/j2sdk1.4.2_02, plus /bin, plus /jre, plus /jre/bin, even /usr/java but no one works.
I also redownloaded the file to avoid download problems. I have checked the size and it's OK.
Does anyone have installed J2EE SDK 1.4 in any Linux?
Please note that RedHat Fedora is not on the list of officially supported platforms.
Did you download the distribution with bundled J2SE or the one with Application Server only? Described Java installation detection problem looks similar to the one described in Release Notes (bug# 4943727) but that issue does not affect full SDK distribution. If you are using Application Server only distribution please download and try full SDK distribution.
Also, in the case that SDK distribution does not work either, you should be able to use following workaround to circumvent native bootstrap code which is causing the problem:
1) create temporary directory, move product distribution file there and extract the content using unzip command:
unzip j2eesdk-1_4-dr-linux-eval
3) (for SDK distribution only) assign execute permissions to bundled JRE files
chmod -R 755 package/jre
2) invoke installer JVM directly using this command:
I know that Fedora isn't a supported platform, but I didn't think it were too diferent from RH9. I looked at the bug you mention in your first replay. It's a bit sad that the patch to the kernel isn't part of the main distribution yet.
Anyway thanks again, it worked perfectly with this solution. Maybe a workaround should be implemented on the install so other linux users can install J2EE...
Hi all,
i have downloaded j2eesdk-1_4-br-linux-eval-app and have the same problem with the error messages about missing jre instalation. Actually i have installed jre 1.4.2_02 but when i try unzip the file a message appears:
This "supported platform" lark makes me dislike Sun. Which ***** decided that they were unable to provide a nice .tar.gz file?
Sun really are losing touch.
Anyway, I just noticed someone saying the unzip command didn't work. May I suggest "unzip" and not "gunzip". Bit of confusion there I think. But if they are the same, rename the file so it has a .zip extension.
Right on, brother. Sun: get a clue. If it's a zip file, name it [whatever].zip and give the requisite (and very simple) instructions in the install documentation. Or better yet, why not take advantage of your own technology and make it a jar, executable with "java -jar"? Somebody really dropped the ball on this one.
Re: J2EE SDK 1.4 install problem on Redhat Linux
Feb 3, 2004 12:05 AM
(reply 11
of 23) (In reply to
#3 )
Thanks for your help!
Using your hints, the installer starts working, but on the way an exception occurs.
When the password-question comes i just press return (or typ something other).
Then the exeption occurs:
Supply the admin user's password and override any of the other initial
configuration settings as necessary.
Admin User [admin] {"<"!" exits}:
java.lang.UnsatisfiedLinkError: no Password in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at
com.sun.enterprise.installer.utilities.PasswordUtil.<clinit>(PasswordUtil.java:24)
at
com.sun.enterprise.installer.dialogs.NewConfigInfoPanel.consoleInteraction(NewConfigInfoPanel.java:876)
at
com.sun.wizards.core.IteratorLayout.setCurrentLeaf(IteratorLayout.java:668)
at com.sun.wizards.core.IteratorLayout.next(IteratorLayout.java:783)
at
com.sun.wizards.core.WizardTreeManager.nextButtonPressed(WizardTreeManager.java:1198)
at
com.sun.wizards.core.CommandLineConsole.run(CommandLineConsole.java:148)
at java.lang.Thread.run(Thread.java:534)
Is there a worarround?
By the way...
What the ** are the doing at Sun?
Not all Userst whants the App-Server to be installed!!! I need the J2EE-Libs.
Why dont they support a simple tar or zip file? Or a jar file ;-)
I unziped the files on Windows using WinZip. Then i packed it in a jar and ftp-transfered it on my SuSe-Linux server....
Unfortunately the console installer ended with the exception... :-(
Do they want us to use Windows/.NET ???
Re: J2EE SDK 1.4 install problem on Redhat Linux
Feb 6, 2004 2:22 PM
(reply 12
of 23) (In reply to
#11 )
stefankuehn,
I had the same problem when running it without the GUI. If you run with the GUI it will work fine.
I'm really annoyed with Sun's approach to this. I, too, just want the j2ee libraries, I don't want the application server, et cetera. I don't want a executable native installer, either. Sun, give us a jar or a tar.gz archive and quit wasting our time by making us jump through hoops.
It shouldn't be this much trouble; it's ridiculous.
I'd agree with previous comments on this issue. Installing this package is beyond anyone but experienced sysadmins, and in any case most people at this stage just want to get the libraries and start working against the new APIs. What on earth sun is thinking by making this process so convoluted I can't imagine.
Re: J2EE SDK 1.4 install problem on Redhat Linux
Feb 8, 2004 7:59 PM
(reply 14
of 23) (In reply to
#13 )
Well ... so far so good. I have been following the responses posted in this forum on how to install J2EE SDK 1.4 as i am having the same problems are everyone else. Except i have one more problem that hasn't been posted yet.
When i run the "package/jre/bin/java -Xmx256m -cp .:package/PackageFormat.jar appserv" command to increase my heap size it comes back with the following error message:
Error occurred during initialization of VM
Could not reserve enough space for object heap
Is there a way to get around this? The command works fine with -Xmx128m but of course the package then throws the out of memory execption. I'm pulling my hair out here, this is my first experience installing software on linux. One other problem i am faced with is that i am only able to access my server through telnet, so the gui options are unavailable.
Any help would be greatly appreciated.
-Chris
This topic has
23
replies
on
2
pages.
1
|
2
|
Next »