145 byte By
vin1s4ua at 2007-10-2 10:55:17
hiIs there anyway to give input to a program through another program....?(using Runtime)...Except command line arguments....
I just installed J2SE SDK for a class I'm taking, but now when I try to open chat rooms that use Java applets, they won't run and I get the following: Fatal error: Call to undefined function: show_nopermission() in /home/butchfem/public_html/portal/forums/digichat.php on line 6Any ideas what ...
430 byte By
siamrafa at 2007-10-2 11:11:07
Does the source code for the standard java libraries come with the sdk? I thought that was the whole point of an sdk, but when using eclipse, it says it cant find the source (in rt.jar), and just gives me an outline of the class. Do I separately have to download the source code? I saw something ...
I need help in my project . Like when users click the link, it will open a new window and bring them to the desired website. How do i write that in JCreator? Also, to those who knows, I want to change the output of my text to different color using JCreator. Can you please sate the steps clearly ...
710 byte By
Mwyanna at 2007-10-2 11:13:49
Hi everybody,If you often use the Java documentation, and if you think it is not very easy to look for information, I inform you that I built a CHM (compiled HTML) version of the Java SDK 5.0 documentation. The advantages are : - Only one file of 38 MB instead of hundreds of small files, ...
1. Write a banking program that will do the following: [50 pts]a)Create a Customer class with the appropriate set of attributes and methods to accommodate the activities listed below. All calculations should be the responsibility of methods defined in the Customer class.b)Create a constructor ...
248 byte By
akza at 2007-10-2 11:25:16
HiI have J2SE 5 installed on my pc. When I try to a program written on my PC on a different pc with J2SE 1.4, there is the: unsupported version 1.49.I am trying to download J2SE but I cannot find it.Many thanksAkz
Hi,I want to know which is the best free(open source eventually) code analyzer. I work with "FindBugs" and is good but not good enough. I need something to find the not closing db resources.. And may be something which may verify even jsp. Thanks,Alexandru Barbat
147 byte By
vin1s4ua at 2007-10-2 11:43:06
What is JIT? , why/how it is used? , How can we find the name of JIT usedwhen we run your java program in linux platform............?
354 byte By
Tim@sa at 2007-10-2 11:45:17
Hi, I have a server based on Intel Itanium x64 processor. I'm need at least java 1.5 or later on this machine very much, but there is no distribution available. The only information I found that support is planned in future date. Can somebody tell me more precisely when sun is planning to ...
Please, need help. May be its not the right forum, but i will try...While developping an application using JDBF driver under WSAD, i checked out numeric fields are converting decimal points into comma and saving dbf files with numeric fields like 123,45 instead 123.45 (Clipper do not recognize ...
Hello!Iv just manage to get Eclipse to find my java path and now im struggling to actually load eclipse. When i try to launch Eclipse i recieve a Java Web Start - Invalid Argument Error message;This is the error message i recieve:An error occurred while launching/running the ...
Our IT department prescribes 1.4 on a new java project. We have complete control over the development and deployment environment, so access to a 5.0 jvm is not a problem.Are there pure technical reasons for choosing 1.4 over 5.0 or is this just a political decision.
Hi all, I could compile Hello.java with javac successfully, and the Hello.class was created. But when I run with java, it gave me an error :( For example: javac Hello.java >>compiled successfully, Hello.class was created java Hello >> gave me an error: Exception in thread "main" ...
Please, need help.I'm using java.nio to get large files contents (txt) and need to put these data into MSSQL SERVER 2000 database tables. NIO have capabilityies to get data and transfer directly to the tables? If so, how can i do it?Thanks a lotAloisio
Hi,I tired starting up my application server and it's been giving me the following error messages://- START --C:\JDeveloper\j2ee\home>set JAVA_HOME=c:\jdeveloper\jdkC:\JDeveloper\j2ee\home>set path=c:\jdeveloper\jdk\bin;C:\JDeveloper\j2ee\home>java -jar oc4j.jar2006-02-12 12:13:35.968 ...
732 byte By
12sira at 2007-10-2 12:10:26
I am working on opensource project and i am buiding it from source.it will work on jdk1.5 and orackle 10g, when i am buindling, i am getting error of timestamp as:"reference to Timestamp is ambiguous, both class java.sql.Timestamp in java.sql and class java.security.Timestamp in java.security ...
812 byte By
Skylara at 2007-10-2 12:14:41
Alright to first set the ground. This is my first language that i'm learning and i have Murach's Java 2 beginners book. Its the same one my dad acquired when he was learning it except the one i got didn't have the nifty little CD thing you could get the SDK off of. No, instead they give VERY ...
i'm getting this error message after deploying and want to open the login page waht should be the reason?"Unable to find a javac compilerCom.tools.java.main is not on the classpathPerhaps Java_home does not point to the JDK "any idea ?
Hi,i cant get my Eclipse 3.1 Installation to show me the java documentation while implementing code in the editor.(I mean the documentation shown when u are over a part of java code that tells u what this method for example does)In several Forums i got the hint to use a JDK instead of an JRE to ...
Hi.. My Product is a Network based product... we implement our product run through proxy which required no user Authentication.. but if a proxy needs Authentication.. How can it be handled using java.net package?Anyone who having experience in these things.. Reply me .. it's very ...
I'm a bit of a novice when it comes to eclipse. I want to execute my program and set a command line option for the library path, so that it can find my DLL when I use System.loadLibrary(). ie.java -Djava.library.path="..."Also, is it possible to set a path relative to the project rather than ...
818 byte By
CUKa at 2007-10-2 12:39:00
Hi,I am a new bie for web application development and deployment. So, please forgive me if my question appears too primitive.I have created a web application in eclipse, using JSPs, servlets and some java classes. Currently, I am using Apache Tomcat5.5 server on my desktop to test my ...
1170 byte By
Endera at 2007-10-2 12:43:06
When I run a .class file with java.exe I get a NoClassDefFoundError. The class name matches the file name, and I can't find anything wrong with the command-line arguments:%path%/javac -g -verbose -sourcepath . Test.javaIt all compiles fine. The .class file is in my current ...
I observed a rather strange behaviour lately with JRE1.5 (newest version) and Win XP. Indeed it's 100% sure that calling currentTimeMillis (or sleep?) too frequent will speed up the system's real time clock under XP.But let me explain...I'm using the following to achieve constant timing in a ...
hi,My problem is that I am having a javasource file.i.e .java file.This .java file I need to compile and run on a linux system.I am unable to compile and run this.Can anyone can help me out in solving this problem.This is very urgent.I had gone to the directory where Java is installed and also ...
1759 byte By
Nikolaya at 2007-10-2 13:00:27
There is --getNotificationInfo Successful --The operation [getNotificationInfo] was successfully invoked for the MBean [bean:name=test].The operation returned with the value: [Ljavax.management.modelmbean.ModelMBeanNotificationInfo;@1b9d4d8 --in http://127.0.0.1:9292/ andgetNotificationInfo ...
hello,I want to display a pdf document, but I don't find anything which could really help me...I want to parse the pdf file into a jpanel or something like that and then displaying that jpanel.has anyone please any idea how I could do that? how do I get the pdf file into the jpanel? examples ...
Everytime when I started SUN Application Server after starting the pointbase Database, I would face the following error message from server.log ...
502 byte By
abogoma at 2007-10-2 13:18:00
Hello:I have recently began using Graphics2D. It is my understanding that, say, the MS VM that comes standard with Windows does not include this library. Sun's Java 2 does. If Graphics2D is not available, applets run and display whatever does not require Graphics2D, but, otherwise remain ...
2456 byte By
007jba at 2007-10-2 13:22:18
I want to do a dynamic check for objec types in a datastructure. Something very similar to instanceof but using dynamic type parameter.Syntactically speaking...Instead of writing several methods likepublic boolean isOfTypeXYZ( ){ return ( this instanceof XYZ);}public boolean ...
I am still waiting for Sun support, but they tell me that all versions have this 'bug' I find it very hard to believe that Sun missed this.The issue.. I create a Cert Request, take the pem file and get a decode error on the CA enroll server. Found out that it works ok if I do not have a DC ...
221 byte By
shakmoha at 2007-10-2 13:36:57
I downloaded new sdk 1.4.before i used to run my programs like this. java -cp c:\sun\appserver\pointbase\lib\pbclient.jar; classnamenow, i am getting class not found error. what is the problem?
Hi,Can I use key length of length 4096 with JDK1.4.Currently I am using JDK 1.4 and using a key length of 4096, but it give me an exception javax.net.ssl.SSLProtocolException: java.io.IOException: subject key, java.security.spec.InvalidKeySpecException: Unknown key spec.What can be the sloution ...
I'm new to jmx, so I hope this question doesn't sound too weird....I've been looking into JMX, and were wondering: It seems like the entire JMX framework is about exposing management methods to remote clients (or local ones)...But if so, why not use any other (generic) remoting mechanisms, ...
Dear all i just write up my own socket program , but i find out one problem with multi connection in my code . if user post (BufferedReader) is.readLine() into process some message in while loop and then when thread 1 user want to exit , why other user cannot continue work individual in my ...
HiDoes the Java print API make use of the printer driver for printing?How does the print API work in platforms like Solaris and Linux? Are printer drivers available for those platforms too? Thanks in advance.regards,Anand
Hello!I cann't understand how classpath works in java :(I need to set classpath from my code, for that I added a code in main():System.setProperty("java.class.path", ".;lib;xml;");And it doesn't work. I cann't work with resources denoted at classpath list, but when I set JVM property when ...
Currently I am incorporating if I can use JAAS for the web application that I am working on. This web application has about 20 resources (basically jsps) which needs to be authorized. This web application can have a number of users who can access these jsps. Not all users need to have access to ...
192 byte By
EasyMica at 2007-10-2 14:07:41
HiI believe "i have tomatos on my eyes", but i can't find any ressource where to download exactly SDK 1.4.2_02 for Windows?Please heeeelp!Thanx a lotMichael
Hi,I need some help, in identifying the testcases for Large file ( > 2GB).Currently our OS supports Large files, and we have ported our (Sun) JDK and JVM to support large files. I would like to know is there a way i can enable or use the JCK for testing large files.Any help in this regard ...
hi , i am getting the error " java.lang.UnsupportedClassVersionError: javax/sql/RowSet (Unsupported major.minor version 48.0) " while i am trying to create JavaProject in WSAD. could any body give the steps to solve it.regards mandava
having viewed an earlier post in this forum i managed to create the following code but am having a few problems.here are the active parts of the html form on googles search, engine. i am trying to convert this into java form and have so far succeeeded in generating the code shown below, but ...
129 byte By
wisjaa at 2007-10-2 14:19:49
hello together,i'm searching for a summing up of sdk1.5 vs sdk1.4.thanks for your help forward.wisja
Dear All,I installed the J2SE runtime in my PC but because I have a proxy in my company , everytime I try to launch a Java appliction stored in an external web site the J2SE runtime ask me the user name and the password of the proxy. How is possive to permanently set these data to avoid the ...
Good morning everybody .I have installed J2EE SDK 1.4 with successfull .I writed a very basic application JSP , i make an archive WAR called hello .I compile the application with successfull and i deploy also the application with successfull .I have now just to run the application by writing ...
Please help, i've installed JDK 1.5.0_04 on my windows xp... i created an account and password in the keytool.Weeks passed and i forgot my keystore password. After a week later again, i remember it, but the keytool said thatthe password was either tampered or incorrect. I uninstalled it and ...
400 byte By
shakmoha at 2007-10-2 14:37:20
I am having problem running java program in the server because i don't remember my password. i tried to use asadmin command to change the password. the command change_password is not there. I tried to change the domain.xml, but I could not write anything, and i don't know where the password ...
Hi, I was trying to install Netbeans on my laptop and I am stuck. Big time. I downloaded the NetBeans from http://www.netbeans.info/downloads/download.phpbut when I am trying to install it, it is asking for JDK. Where do I get the specific JDK for Netbeans 5.0?Please help, thank ...
Hi!I've just installed Netbeans 5.0 with the 1.5 SDK but had error of some items not showing up in my IDE. I then installed 4.1 which didnt help either. I installed 1.4 as well and used both Netbeans versions. I uninstalled and installed both the SDK and IDE seperatly in every possible ...