dkumar sharma

Greenhorn
+ Follow
since May 10, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by dkumar sharma

Hi
I have installed websphere 5 recently on my machine, but i am not able to run any of its example given. Even from the console i try to start the application but its not running. If any can please help me out.
thanks in advance
dkumar sharma
21 years ago

Originally posted by Vin Kris:
If by "open & close" you mean start & stop - then yes. Check out Runtime.exec() and any tutorial on RMI.


Yes you got the same, let me clear the situation so that you can help me more if possible for you.
Actually I am in intranet my machine is far away from the weblogic server, i need to restart the wlserver again & again. so I thought let me write a program which will start & close the wlserver from my machine without going to remote machine(wlserver). Is this possible, if yes please help me out. And thank for your advice i am looking into that.
thanks & regards
Dkumar
21 years ago
Hi All,

I am in bit trouble, i want to open & close the application which is running on different machine in intranet. Is it possible to do so using java technology? If so pleae any one help me out and if possible please give the code also.

Thanks in advance
DKumar
21 years ago
hi all,
i am trying to run HelloSpeech progarm to test but i am not able to execute it. i have downloaded the JSpeechLib_3_0 file & setted the classpath for all the jar file present in lib directory.while compiling no problem, but when i am executing it giving the error like below
java.lang.NullPointerException
at HelloSpeech.main(HelloSpeech.java:14)
here is the actual code:
import javax.speech.*;
import javax.speech.synthesis.*;
import java.util.Locale;
public class HelloSpeech
{
public static void main(String args[]) {
try {
// Create a synthesizer for English
Synthesizer synth = Central.createSynthesizer(new SynthesizerModeDesc(Locale.ENGLISH));
// Get it ready to speak
synth.allocate();
synth.resume();
// Speak the "" string
synth.speakPlainText("Hello, JUG heads!", null);
// Wait till speaking is done
synth.waitEngineState(Synthesizer.QUEUE_EMPTY);
// Clean up
synth.deallocate();
} catch (Exception e) {
e.printStackTrace();
}
}
}

now i am not to able undestand what to do next,why this error is comming. is there any thing more required to run this program. please any one tell me what is the procedure & requirement to run speech program and also what are necessary steps.

22 years ago
Hi MacLean,
Thanks for the links provided by u. But that gives only the specification. Anyhow i ahve downloaded the microsoft speechsdk5, so if i want to run a simple program hello word what should i do, is there any class path to be setted. please help me out taking one example.

thanks & regards
dkumar_sharma

Originally posted by Sean MacLean:
They are available here
http://java.sun.com/products/?frontpage-main
Look about halfway down the page under the heading "Other Technologies and API's". They should include examples, etc.
Sean


22 years ago
hi all,
i am new to java speech & java telephony, i need to know where to get these two apis. after getting this apis what are the necessary steps would be followed to run a program.please any one help me out by taking one example step by step.

thanks & regrads
dkumar_sharma
22 years ago
hi all,
any body can tell me please how find out total no of users connected to NT server through java. if possible please give me the code also.
thanks & regards
dkumar
hi all,
i am new to weblogic and ejb. i am not able to deploy and run ejb in weblogic6.0 , i have files (demo.java, demo_bean.java, demo_home.java & demo_client.java). whtat next i have to do , any body can tell me please step by step.
thanks & regards
dkumar
22 years ago
hi all,

i need draw line graph in applet.if any ane knows please help me out.if possible try to give code also.

thanks & regards
dkumar sharma
22 years ago
hi all,
i need to know how may users are there in a NT server using java, if any one knows please help me out.If possible give the code also.
thanks & regards
dharmendra
22 years ago
hi all,

i need to access data from database and that i want to display on html using xml. if any, please help me out .

thanks & regards
dkumar_sharma
hi all,
I need to incearse the javawebserver session time so that it should not die, it should always alive. 30 min is default session time used by javawebserver.i want that rather than this 30 min, it should be always alive. if any one who knows please help me out.

thanks & regards
dharmendra
22 years ago
hi all,

i have made a application, now i want to distribute that, so i need help regarding how my application will be transferrred to the client machine. is it possible through ftp , if yes then how?
if any can please help me out.

thanks
dharmendra
23 years ago
hello man,
here is sol. for exeutable java file.

first u have to make manifest file for ur main class like ,
u open any new text file and write this command
Main-Class: urmainclass (without class extension)
then save this one with an extension like txt or mf, but after writting this line u put enter then save.(eg my.txt)
and now go to ur dir where ur class file are there in the command
promt & write the code like
jar cmf my.txt *.class
after this u will get a executable jar file. now if u double click on this file icon it will execute.
ejoy

23 years ago
hi all,
i am woking on a java based application, my application is almost finished. now i want to distribute this application to client or different user. i have option of giving class file or making a executable jar file and then distribute that. but in both the cases user can view the source code. i want to protect viewing source code of my application. is there any alternative to protect the viewing source code, if any one please help out.
thanks
dharmendra
23 years ago