Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-06-2008, 12:50 AM
Member
 
Join Date: May 2008
Posts: 3
PhoeniX is on a distinguished road
Online Java compiler
i have a class project:
to create an online java compiler/runner where users can write, compile and execute code...
to start, i think i have to put the compiler on the server, with the jdk of course... but i have doubts as for the interface of the application or the website... and its functionality... what if a user is implementing GUIs... how to manage the output then...

Please, anyone who's interested in giving me tips about this project or any ideas is more than welcome!!

Regards!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-06-2008, 02:28 AM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 218
Zosden is on a distinguished road
you could just have the user send their files to a server then send back the compiled classes. Then just have the user run the compiled classes.
__________________
Definition of Impossible = making a good game in Java.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-09-2008, 01:12 PM
Member
 
Join Date: May 2008
Posts: 3
PhoeniX is on a distinguished road
I wanted it to be interactive... so the users write their code... check it for mistakes... then compile it and run it!!!
It's like a complete JAVA IDE but online!!!!

So????
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-09-2008, 03:08 PM
Zosden's Avatar
Senior Member
 
Join Date: Apr 2008
Posts: 218
Zosden is on a distinguished road
I don't think that is possible unless you send back a jar file then have the users run it. If you want an IDE you would have to come up with a way to read the text and check for mistakes and everything else that goes into making an IDE. This is a lot more complicated than you think. Eclipse was a multi-million dollar project worked on by a team of computer scientist. Just keep that in mind.
__________________
Definition of Impossible = making a good game in Java.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-09-2008, 03:24 PM
rjuyal's Avatar
Member
 
Join Date: Mar 2008
Location: Delhi, India
Posts: 92
rjuyal is on a distinguished road
you are trying to create online Eclipse
__________________
Life was much better in 2021
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-10-2008, 11:57 AM
Member
 
Join Date: May 2008
Posts: 3
PhoeniX is on a distinguished road
Ok guys... thx :P
I'll do my best!!
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old Yesterday, 03:15 AM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 117
danielstoner is on a distinguished road
Just a suggestion:

The Java compiler has a public API. It is also integrated with the Java Scripting Engine API. You can read here: Little Tutorials about it. Maybe somehow scripting the compiler can help you achieve the things you want, at least a start. If you want to learn more about scripting a Java application you can read my latest tutorial at: Script Thy Java App | Little Tutorials

In running this kind of application online you have to consider the security implications.

Good luck
__________________
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make online jsp forms from Microsoft word forms in java jiten.mistry Advanced Java 2 04-28-2008 11:56 AM
Java Compiler API (brief intro) JavaForums Java Blogs 0 04-21-2008 05:40 PM
Java experts needed- 30 minute online Java projects michelle Jobs Offered 0 03-06-2008 12:47 AM
Refer a good Java compiler trill New To Java 1 08-07-2007 08:31 AM
The best compiler for java baltimore New To Java 2 08-06-2007 06:10 PM


All times are GMT +3. The time now is 09:30 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org