Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

how to develope java servlets/jsp on linux fedora core 6

Posted on 2008-06-16
3
Medium Priority
?
367 Views
Last Modified: 2013-12-02
hi all,
I'm newbie to java and I need to train myself on it on fedora core 6. tomcat is available on the machine but unfortunately I can't find the sample examples at webapps folder.

my question is can any one of the experts on this site help me and tell me how to install and configure it to work jsp with tomcat .
any help is appriciated and welcomed. I need you help fast also does there is a way to install it and the eclipse IDE using yum utility if the answer is no how can I do it manually because I downloaded this sdk 5 file and it doesn't work when installing

here is my try messages of errors . please help as soon as possible

[root@localhost ~]# cd /work/source/programs/books/opencms
[root@localhost opencms]# ./java_ee_sdk-5_05-linux-nojdk-ml.bin
Checking available disk space...
Checking Java(TM) 2 Runtime Environment...
Error: Could not find the required version of the Java(TM) 2 Runtime Environment.
This application needs version 1.5 or higher of the Java(TM) 2 Runtime
Environment. If the required Java(TM) 2 Runtime Environment is not installed,
you can download it from the following website:
    http://java.sun.com/j2se
Or if you already have the required Java(TM) 2 Runtime Environment
installed, try rerunning this application with the following usage:
    'java_ee_sdk-5_05-linux-nojdk-ml.bin' -javahome <Java(TM) installation directory>

best regards
mohr4000
0
Comment
Question by:mohr4000
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
MicheleMarcon earned 800 total points
ID: 21800276
http://java.sun.com/products/jsp/html/jspbasics.fm.html

Tomcat already works with JSP.

Eclipse on Fedora:
http://sourceware.org/eclipse/

About the error you got: did you install Java SDK first?
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 1200 total points
ID: 21801326
What happens if you type

java -version

or

whereis java

If it does nto come up with anything you need to install Java as already suggested.
0
 
LVL 35

Assisted Solution

by:girionis
girionis earned 1200 total points
ID: 21801334
BTW you can install java from here: http://java.sun.com/javase/downloads/index.jsp You need to choose "JDK 6 Update 6"
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month10 days, 14 hours left to enroll

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question