473,554 Members | 2,298 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java Forum

Java programming language (Sun Microsystems) - Ask questions about java programming, OOP, JRE, SDK, Swing, Plugins, Java Virtual Machine(JVM), Java Libraries: Collection, XML Processing, Security, JDBC, JNDI, RMI, CORBA, AWT (GUI) and more.
0
1,405
thread by: Rashid Mkande | last post Aug 3 '12 by: Rashid Mkande
what should i do if save the program in bin it say ' you need a permission from administrator'....help me pliz
0
1,479
thread by: Kiran0091 | last post Aug 7 '12 by: Kiran0091
Hello I am working on a project in which I am using ffmpeg with php. It was working properly. Now I am trying to use ffmpeg with java in window xp. How to install ffmpeg with java 6 in window xp????
0
1,507
freddieMaize
thread by: freddieMaize | last post Aug 7 '12 by: freddieMaize
Hi Experts, Its been years since I posted in this site. Anyways, Are there any best know java OCR API or open source utility to get the text from a Video/Audio files. I know this is too much to ask but I'm researching on this so posting this question, hoping to get any info that might help me on my way. fREDDIE
0
1,291
thread by: GauravDC | last post Aug 7 '12 by: GauravDC
My program generates dynamic red green and blue values in decimal for a pixel.I need to set the values of that pixel to these generated numbers.I have tried to convert it into hex values but I am not finding any way out to set the pixel to these values. Looking up for your help.
0
1,489
thread by: UserJava | last post Aug 9 '12 by: UserJava
I have a java program which connects to unix box and runs a shell script there. It does execute all unix commands but not able to execute a db2 command which is there in the unix shell script. Can anybody please help on this?
0
1,604
thread by: GauravDC | last post Aug 10 '12 by: GauravDC
I am working on a project in java where I need to save an image after changing some of its pixel values.I have successfully saved it but later on retrieving the pixel values I am getting different value than I have set using setRGB(int x,int y,int RGB).Looking forward to ur help.
0
1,465
thread by: Walt Fish | last post Aug 14 '12 by: Walt Fish
I have an application on a flash drive that pulls log files from a hard drive and copies them back to the flash drive. I'm having trouble assigning the proper drive letter to the write/copy process that's been assigned to my flash drive so the files actually go to the proper place. The flash drive can be assigned any letter available. How do I...
0
2,248
thread by: don320 | last post Aug 21 '12 by: don320
If I have a project called common-webapp and inside the web pages folder I have a folder call tablibs.jsp. How can I use that jsp page in another project such as security-webapp and my jsp page there is logon.jsp?
0
1,424
Suresh Mahesh
thread by: Suresh Mahesh | last post Aug 22 '12 by: Suresh Mahesh
i have to store and retrieve integer value from three dimensional array recursively. For example i have a=1,b=2,c=3 and a=3,b=2,c=1 and a=1,b=2,c=3 etc as input . then i should get output of all rows and columns in three dimensional array list i tried this i am getting error as index=1 size=1
0
25,771
vitthaldevkar
thread by: vitthaldevkar | last post Aug 24 '12 by: vitthaldevkar
int size = GetDataSet.setInt.size(); Set<Integer> randomSet = new HashSet<>(); for (int k = 0; k < size; k++) { int item = new Random().nextInt(size); int j = 0; for (int mbr : GetDataSet.setInt) { if (j == item) { randomSet.add(mbr); } j = j + 1;
0
1,409
Suresh Mahesh
thread by: Suresh Mahesh | last post Aug 30 '12 by: Suresh Mahesh
i have multiple no of System.out.println("something")statements in various places in one java file. i need to save all the console output should placed in separate text file , after console output reach end thanks in advance
0
1,407
thread by: adaagu05 | last post Aug 30 '12 by: adaagu05
hello all, i am trying read smartcard. can you help me with a sample code. i wll appreciate this. than you.
0
1,826
thread by: gaya3 | last post Sep 4 '12 by: gaya3
Hi All, I would like to have the simple java code that copy the files from samba share to local drive. When i tried with below snippet , file not found exception occured. Please do needful try{ String source = "//IP.VV.YY.XXX//test//mm"; File sourceFile = new File(source);
0
8,768
thread by: adima | last post Sep 5 '12 by: adima
hi, i am looking out for a program in java ,which will read the url entered in browser's address bar and filter it before it is sent to the server (http/https)and respond back the client i.e my browser
0
1,351
thread by: zeinz | last post Sep 6 '12 by: zeinz
Hi, I want to transfer gif image over Tcp/Ip socket between server & client. but when i do that the gif transferred is no longer animated & freezes @ the last frame. I used (Datainput/outputStream) then read the stream into image. Anyone have an idea why that happened?
0
1,450
thread by: gaya3 | last post Sep 7 '12 by: gaya3
Hi All, In my java application, i need to search a string (Eg: "Hello") in the list of files in the source directory and i need to copy all the files that matches the search text and copy all those files into another destination directory. Problem: In my source directory i have lot more number of files , probably 10,000+. I am not sure ,...
0
1,392
thread by: Nishant | last post Sep 13 '12 by: Nishant
have two pages 1)index.jsp and 2)first.jsp.i have drop down list in index.jsp page i want if i choose any value from drop down list it should show the selected value to the next page that is first.jsp. coding of drop down list goes as.... <h4>Plant: <select name="plants" onchange="location.href=f1.plants.options.value"> ...
0
1,439
thread by: Nishant | last post Sep 14 '12 by: Nishant
I have two pages one is index.jsp and another is first.jsp. I have drop down list in index.jsp page.I want that if i choose any value from dropdown list that value should go to the next page that is first.jsp. the code i am using is mention below. <h4>Plant: <select name="plants" onchange="location.href=f1.plants.options.value;"> ...
0
1,561
thread by: ganessinv | last post Sep 19 '12 by: ganessinv
I am using a struts application. I want to upload a file in JSP and read the contents of that file in the Java. Case 1: I deployed this application.war in my local tomcat server, and ran the app, it works fine. (Local machine OS is windows) Case 2: When I deployed this application.war in the tomcat server on Unix machine, and ran, it...
0
1,203
thread by: sriraram | last post Sep 24 '12 by: sriraram
Hi, I am also facing the same problem, mentioned in the below link. http://bytes.com/topic/java/answers/857534-mails-sent-java-code-going-junk-folder-ms-outlook But still I did not see any solution for this problem. Please help me on this.
0
2,121
thread by: ajgordon | last post Sep 26 '12 by: ajgordon
I am trying to write a program that produces random permutations of the numbers 1 to 10. It goes into and ArrayList and I have to take it from the ArrayList and put it in an array. It is working without any errors, but all the numbers print 0. I'm not sure why it isn't transferring the numbers correctly to the array. Any suggestions are greatly...
0
2,013
thread by: plsHelpMe | last post Sep 27 '12 by: plsHelpMe
Hi, I have a webs application written using Java. This application does not offer any GUI for the end users but has few classes which are exposed over http request. This is deployed on WebSphere application server on zOS. Now, another external web application (Websphere application server on Windows) make http request to this zOS webapp to...
0
1,601
thread by: zeinz | last post Sep 27 '12 by: zeinz
I'm using JMF in making a live stream from a webcam at server to an applet. That when any client open the applet, he 'll be able to watch live stream from the webcam at the server. Till now, i'm just able to make a unicasting streaming at local network only that i must enter the destination ip @ the transmitting code at server. i want a way...
0
1,677
thread by: Prabowo Budi | last post Sep 28 '12 by: Prabowo Budi
I have try to build a aplication about audio compression in Java using Huffman Compression. I have been searching all over the net and MSDN and cannot find anything that explains how to use Huffman in Java. I need to compress audio data using Huffman and then playing the new file using that aplication. Building the palyer is easy. Finding out...
0
1,539
thread by: ndedhia1 | last post Oct 4 '12 by: ndedhia1
I was wondering how I connect to a server, using a password, login and needing to look up a key in an id_rsa file? I was able to log into the box before just using the password and login, but security has gotten tighter, so now we need to public/private key. I have the keys on my pc in a file called id_rsa and id_rsa.pub. Before, I was...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.