LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2009, 02:58 PM   #1
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Rep: Reputation: 32
Smile JAVA ?


hi to all ,
i have a question , i was installing a webapplication that runs on Java . and i was asked to download and install "Java 2 SDK version 5.0 or above"
now i sent to Java's site and there is like 10 kinds ???
which one is it ??

and + A security patch, Java Cryptography Extension (JCE) ??

sorry but iam new to Java ?

Regards,
MaaS
 
Old 03-26-2009, 03:18 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
All you probably need is "Java 2 Standard Edition (J2SE) Runtime".

Do this and you should be fine (the link has the steps, screenshots, and direct shortcuts to the J2EE runtime download itself):

http://www.java.com/en/download/help/5000010500.xml

'Hope that helps .. PSM

PS:
Please post back if you have any questions, or encounter any problems.
 
Old 03-26-2009, 03:38 PM   #3
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Lightbulb

Quote:
Originally Posted by paulsm4 View Post
All you probably need is "Java 2 Standard Edition (J2SE) Runtime".

Do this and you should be fine (the link has the steps, screenshots, and direct shortcuts to the J2EE runtime download itself):

http://www.java.com/en/download/help/5000010500.xml

'Hope that helps .. PSM

PS:
Please post back if you have any questions, or encounter any problems.
thanks for the reply . but what is the security patch , and is this version of java is installed in Fedora 8 by default ?

thanx
 
Old 03-26-2009, 05:50 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
thanks for the reply . but what is the security patch , and is this version of java is installed in Fedora 8 by default?
For most apps, the JRE I described above is all you need.

If your app needs something extra ... then you need to tell us exactly what your app is, and what it says it needs. Feel free to cut/paste from the app's README.
 
Old 03-26-2009, 06:40 PM   #5
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Cool

Quote:
Originally Posted by paulsm4 View Post
For most apps, the JRE I described above is all you need.

If your app needs something extra ... then you need to tell us exactly what your app is, and what it says it needs. Feel free to cut/paste from the app's README.
OK then , thank for this support ,

my application is called H2O or Hermes 2.0 ,
its a EDI messaging system . basicly a Java web application . that runs under Tomcat5 .

Iam trying to download this under Fedora 8 system.

I got tomcat5 running with yum install and the manager site is working fine. the thing is with H2O it self i cant get it to work . it give me some weird Errors ???

i would post them soon . just give me a chance to do a fresh install to this system .

thanx
 
Old 03-26-2009, 07:21 PM   #6
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
OK - but please forget most of what I just told you ;-)

What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.

If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.

In any case: please keep us posted as to your progress.
 
Old 03-26-2009, 07:45 PM   #7
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Quote:
Originally Posted by paulsm4 View Post
OK - but please forget most of what I just told you ;-)

What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.

If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.

In any case: please keep us posted as to your progress.
OK , to make things short do you any AS2/EBMS EDI softwares out there for Fedora or CentOS ??

that is easy to install , i have noticed that many ppl use windows for it . and i want to implement Linux in such project
 
Old 03-26-2009, 10:10 PM   #8
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Post

Quote:
Originally Posted by paulsm4 View Post
OK - but please forget most of what I just told you ;-)

What I said is true for a Java-based application, or a Java plugin. But not a JSP/Servlet-based web app.

If you're using Tomcat, you probably need a full-fledged JDK (not just the JRE Java runtime). And you also need to configure your .war files (libraries, web descriptors, etc) correctly. In theory, a .war should be a simple file-copy. In practice, you'll probably have to do some manual configuration.

In any case: please keep us posted as to your progress.
OK now , i did the following . installed JDK 6 update 18 .
tomcat5 and ran my server . when i go to the application i installed . this is what i get .

------------------------------------------------------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet.init() for servlet AdminDispatcher threw exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
java.lang.Thread.run(libgcj.so.8rh)

root cause

java.lang.NoClassDefFoundError: hk.hku.cecid.piazza.commons.Sys
java.lang.Class.initializeClass(libgcj.so.8rh)
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.init(HttpDispatcher.java:63)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.23.jar.so)
org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.23.jar.so)
org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.23.jar.so)
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.23.jar.so)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.23.jar.so)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.23.jar.so)
java.lang.Thread.run(libgcj.so.8rh)
--------------------------------------------------

now why dose it fail to compile my files ?

thankx
 
Old 03-26-2009, 10:23 PM   #9
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.

For whatever it's worth, your first problem is here:
Quote:
java.lang.NoClassDefFoundError: hk.hku.cecid.piazza.commons.Sys
java.lang.Class.initializeClass(libgcj.so.8rh)
hk.hku.cecid.piazza.commons.servlet.http.HttpDispatcher.init(HttpDispatcher.java:63)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.23.jar.so)
...
You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).

There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.

I'd strongly suggest working with the company that released this product, CECID:

http://www.cecid.hku.hk/open-source.php

Sorry I can't be of more help .. PSM

Last edited by paulsm4; 03-26-2009 at 10:25 PM.
 
Old 03-26-2009, 11:06 PM   #10
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Arrow

Quote:
Originally Posted by paulsm4 View Post
Hi -

I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.

For whatever it's worth, your first problem is here:

You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).

There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.

I'd strongly suggest working with the company that released this product, CECID:

http://www.cecid.hku.hk/open-source.php

Sorry I can't be of more help .. PSM
Well , thanks for trying . i would try to get another program or try it on CentOS ..! .


Thanks Again .

Regards ,
MaaS
 
Old 03-27-2009, 01:58 AM   #11
maas187
Member
 
Registered: Aug 2008
Location: Yemen
Distribution: Fedora, CentOS, RedHat , OpenFiler, ESXI
Posts: 225

Original Poster
Rep: Reputation: 32
Wink

Quote:
Originally Posted by paulsm4 View Post
Hi -

I'm sorry, but this is a lot bigger and more complicated than I suspected from your initial post.

For whatever it's worth, your first problem is here:

You loaded Sun Java (good) ... but Tomcat is picking up GNU Java (completely incompatible) ... and it can't find one (or more!) of H2O's classes (hk.hku.cecid.piazza.commons.Sys).

There appear to be a lot of "moving parts" in this project(Tomcat, Java, PostgreSQL, JAAS authentication, etc etc): it's not necessarily going to be trivial to set up.

I'd strongly suggest working with the company that released this product, CECID:

http://www.cecid.hku.hk/open-source.php

Sorry I can't be of more help .. PSM
WEll , i got it to work . but still i have some errors with the JB mysql connector for my plugins .

i have remove java 1.8 from fedora 8 system . and install JDK and install tomcat5 from binaries not YUM .

so far so good
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Java plugin installed correctly for Firefox but not able to view any java applet tvn Linux - Software 10 04-15-2010 02:13 AM
Ubuntu 7.10 64bit - how to set java path to/redirect java to libjvm.so ? Thane Ubuntu 1 03-25-2008 05:52 PM
LXer: Java news met with cautious optimism in free Java community LXer Syndicated Linux News 0 11-14-2006 10:21 PM
Firefox refuses to load Java jnlp files - plugin and java ok Melsync Linux - Software 1 06-25-2006 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration