Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Execution of Java programs in WAMP

Hi, there is a Java program edited and compiled using Netbeans 6.9.1. After running it's giving proper output in Netbeans output screen. But now I need to run this program in WAMP server. WAMP supports only scripting languages.

I can not run the Java program which I have already built. If I try to run in Tomcat I won't get war file to deploy. Should I use servlets? If so, how can I use it in Netbeans Java applications? Or should I convert (rewrite) Java program to PHP program, if so, how to convert? How do I run the Java program in WAMP or Tomcat?

like image 887
user1074824 Avatar asked Nov 22 '25 22:11

user1074824


1 Answers

If your program writes to standard output, then you should be able to use CGI in some way.

Here are some (admittedly old) links on the topic:

http://www.javaworld.com/javaworld/jw-01-1997/jw-01-cgiscripts.html

http://www.gossamer-threads.com/lists/apache/users/184459

They should at least point in the right direction.

like image 190
Vlad Avatar answered Nov 24 '25 10:11

Vlad



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!