473,544 Members | 2,458 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.
2
1,684
thread by: Jules | last post Jul 17 '05 by: Brad BARCLAY
Quickie from a newbie How do I change the value of a variable, say var, of ClassA from a different class, say ClassB? TIA Remove XX if replying direct
0
1,522
thread by: James | last post Jul 17 '05 by: James
I am new to JDO. If anyone can suggest, I am trying to set up an environment. I have compiled classes and point to the jdo jars for enhancement. Oddly the error message seems to indicate the classes are not recognized as classes. Is it because i am using jdk1.4.2? The message is Error while enhancing: JDO ENHANCER: At least one error...
0
46,266
thread by: EpochClock | last post Jul 17 '05 by: EpochClock
Africa/Abidjan Africa/Accra Africa/Addis_Ababa Africa/Algiers Africa/Asmera Africa/Bangui Africa/Bissau Africa/Blantyre Africa/Bujumbura Africa/Cairo
1
2,088
thread by: Nicholas | last post Jul 17 '05 by: Nicholas
How can I redirect the file transferred from the stream to the current directory in Java? Is it possible? Thanks
1
2,352
thread by: Ryan Stewart | last post Jul 17 '05 by: Ryan Stewart
Why would you use a static nested class? If it can basically be treated and instantiated just like a top-level class, what's the point?
0
1,328
thread by: Jean Honorio C. | last post Jul 17 '05 by: Jean Honorio C.
My name is Jean Honorio, M.B.A. candidate of the Universidad del Pacifico, Lima, Peru. As a part of my research thesis to get my grade of magister, I am studying the consumer behavior of the software component market. I would like to invite you to participate in an interview about the things you evaluate when buying a software component,...
2
4,605
thread by: Raamkanna Saranathan | last post Jul 17 '05 by: Raamkanna Saranathan
Hi guys, please help me. this is really important. i am using the runtime.exec() command to execute an exe file -- say notepad.exe. After certain lines of code, i want to terminate this program from within my application. I have used pskill.exe to kill the service but only works on WINNT and XP. i want one that can be used on all windows...
2
6,111
thread by: hantie | last post Jul 17 '05 by: hantie
Is it possible to do this extraction in Java from the InputStream? <sql commands="select title from books" sql> other patterns .... .... The result will be just: select title from books
0
2,381
thread by: Todd Cary | last post Jul 17 '05 by: Todd Cary
I would like to have an Open Source HTML editor on a Web site so the user can create HTML based text. Google brings up too many matches when I type in "Browser HTML editor Java Open Source" that do not match my needs. Does anyone have a suggestion? Todd
1
2,909
thread by: Arnab Nandi | last post Jul 17 '05 by: Doug Pardee
public class Test { static int returnValue() throws Exception { while (true) { try { break; } finally { return 1; } } }
1
1,952
thread by: john_pongo | last post Jul 17 '05 by: Alex Molochnikov
Greetings esteemed peers & colleagues, I've downloaded & installed (full) IBM's Websphere App Developer 5 IDE trialware. Now my company has purchased the product, and I'm wondering if it's possible to simply change a key somewhere, and convert the trial-ware to permanent-ware without having to uninstall and reinstall. Can anyone offer...
6
7,939
thread by: Anks | last post Jul 17 '05 by: Missaka Wijekoon
I am using applet to servlet communication for my web based application.But after running fine for some time apache tomcat server hangs.I am not able to figure out its cause .the cpu utilization at that time reaches to 100%. can anybody tell me about its possible cause.How should i debug this problem. please help thanx
0
532
thread by: xyz | last post Jul 17 '05 by: xyz
test
0
1,907
thread by: nome | last post Jul 17 '05 by: nome
found the solution myself: getFile() returns path + query example: http://posting.google.com/post?cmd=post&name=myName getFile() returns post?cmd=post&name=myName getPath() only post
1
2,342
thread by: kw | last post Jul 17 '05 by: Haakon Nilsen
A newbee question: I have an application (Calc.class etc) it's a calculator, that uses jep212.jar ("Java Mathematical Expression Parser" from http://www.singularsys.com/jep/) WinXP, path is : %path%;C:\j2sdk1.4.0._01\bin;. (as it should be) And now from the command-line(dos) or a batch file: java Calc (apllication Calc works, but jep212...
3
41,943
thread by: Graham Parsons | last post Jul 17 '05 by: xarax
We are experiencing the following on two PCs running WebLogic server .... even though every other PC in the organisation has no such problems running the same software. Anyone who could shed any light on why this may be occuring - well we'd be very pleased ;-) The server runs up and then this error happens after about 5-10 minutes of use.
2
3,017
thread by: Jan Agermose | last post Jul 17 '05 by: Jan Agermose
I have this webapplication, that lets You pick a list of pictures to download. At the en you klik on a link that says download and this url is mapped to a servlet. The servlet looks up the pictures you selected and prepares to send the pictures as a zip fil to you. This is done by setting the response content type to "application/zip" and...
1
8,366
thread by: nome | last post Jul 17 '05 by: Phil...
as URL.getFile() and URL.getPath() seem allways to return the same value, wy did one introduce getPath() in 1.3? can i use both methods to get the full file name? I'd prefer getFile, because its 1.2 compatible.
0
5,873
thread by: ANt | last post Jul 17 '05 by: ANt
Hi, we have some major GC issues at present with a system we're trying to put live. It's a live calculation engine that's distributed across about 30 Java server processes. A set of processes called objectservers sit between the core infra and a Sybase DB. Two of the main objectservers are set up with 2Gb Heaps as they need to cache large...
0
2,102
thread by: CMan | last post Jul 17 '05 by: CMan
Hi, I am using JMF to play wav or mp3 files. I am creating players with: player = Manager.createPlayer(mrl); and closing them with:
2
6,062
thread by: Ashutosh Iddya | last post Jul 17 '05 by: Phil...
HI, How do you find the other endpoint of a line given one endpoint and the slope of the line. Also how do you display the coordinate on the computer screen knowing that the Y axis (of the raster display) runs in the reverse direction of a normal graph.
0
1,269
thread by: Mark McKay | last post Jul 17 '05 by: Mark McKay
I've been hearing the hype, and would like to start using generics and enumerations as soon as they become available. When is the expected launch of this product? I can't find any dates on the sun site. Mark McKay -- http://www.kitfox.com
4
5,078
thread by: DJ Dev | last post Jul 17 '05 by: Nikolai Chuvakhin
Hi All, I have to build a web application for my project. This web application will be basically calling some functions written in C/C++. Basically, the process involves getting user input file, passing the file information to the C/C++ function, Getting the result from C/C++ function etc. Ultimate aim will be to create a web service using...
1
9,388
thread by: Thomas A. Li | last post Jul 17 '05 by: Brad BARCLAY
I have a Java program which reads a text file when it is running. How to deploy it into the jar file I will deploy? The CLassLoader.GetSystemResource(String name) only search the class path and it doesn't search inside the jar file. Any suggestion? Putting the resource file separated from jar file is not my option. Thanks in advance.
1
1,992
thread by: Anks | last post Jul 17 '05 by: steve strongheart
hi i am new to java and want to try some good tools for testing and developement can anybody tell me about some easily approachable tools for same. Thanks Anks

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.