The Artima Developer Community
Sponsored Link

Java Answers Forum
I need help on my thesis. Please hel me!

2 replies on 1 page. Most recent reply: Mar 1, 2004 8:36 PM by silly ivy

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
silly ivy

Posts: 7
Nickname: akane
Registered: Mar, 2004

I need help on my thesis. Please hel me! Posted: Mar 1, 2004 5:07 AM
Reply to this message Reply
Advertisement
I am doing a thesis and it is a system that uses JSP, Java, and MySQL. Its front end is in an HTML form. I created a page and this page has a button named Launch compiler. I am looking for a JavaBean (sample code) that wioll allow the system to open/run TC.exe. I need help.


Viswanatha Basavalingappa

Posts: 84
Nickname: viswagb
Registered: Nov, 2003

Re: I need help on my thesis. Please hel me! Posted: Mar 1, 2004 7:00 AM
Reply to this message Reply
Hi, yes you can do,

I understand that, TC.exe is WIN32 support executable file & you are runing the this applicaing in Windows Env.
then
you can use this code..

class MyEXERunBean
{
 
	public void RunFile()
	{
		try
		{
		  Runtime rt	= Runtime.getRuntime().exec("TC.exe");  // get the java Run time env...
		 }
		catch(Exception IOException )
		{
			System.out.println("ERRROR" + IOException);
		}
	}
 
}



hope this helps you
Viswa
--------

silly ivy

Posts: 7
Nickname: akane
Registered: Mar, 2004

Re: I need help on my thesis. Please hel me! Posted: Mar 1, 2004 8:36 PM
Reply to this message Reply
Thank you thank you thank you O_o

Flat View: This topic has 2 replies on 1 page
Topic: How To Continue With The Code for Profit and Loss Program Previous Topic   Next Topic Topic: Action Performed lotto generator

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use