run

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....

Installed J2SE SDK

345 byte By maryoosaa at 2007-10-2 10:59:54
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 ...

JDK Source code

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 ...

Creating URL links and change the text font using JCreator

367 byte By Angeliciaa at 2007-10-2 11:13:11
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 ...

Java documentation

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, ...

hey, can someone tell me how to complile this program, please!!!!

1942 byte By NeedToKnowa at 2007-10-2 11:16:44
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 ...

SDK Version Problem

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

code analyzers

291 byte By talleyrand2005a at 2007-10-2 11:35:10
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

JIT

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............?

Java on Itanium

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 ...

JDBF (svcon)

399 byte By aloisio.fariasa at 2007-10-2 11:45:48
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 ...

Eclipse not loading due to invalid too many Arguments

1248 byte By adamlivesley@gmail.coma at 2007-10-2 11:54:07
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 ...

What are Valid reasons for using 1.4 instead of 1.5/5.0 jdk?

280 byte By Soemirnoa at 2007-10-2 11:58:31
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.

Compiled successfully, but can't use java.exe

622 byte By Jetta2006a at 2007-10-2 12:02:26
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" ...

java.nio and databases

281 byte By aloisio.fariasa at 2007-10-2 12:04:42
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

j2ee App. Server Not running

4323 byte By nEmEsIs1980a at 2007-10-2 12:07:02
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 ...

timestamp error in j2se5.0

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 ...

Java 2 SDK: HELP!!

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 ...

Unable to find a javac compiler

271 byte By franco_kossovoa at 2007-10-2 12:20:00
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 ?

Eclipse doesn't show the java documentation altough i use an JDK Runtime

626 byte By LittleMika at 2007-10-2 12:25:52
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 ...

Proxy Authentication using java.net package

325 byte By SooriyaKalaa at 2007-10-2 12:30:32
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 ...

Setting -D option within eclipse

362 byte By sgleadowa at 2007-10-2 12:34:35
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 ...

New bie help in publishing Web Application

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 ...

Java.exe Problem: NoClassDefFoundError

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 ...

RTC speeds up by calls to System.currentTimeMillis()

2586 byte By deadbeefa at 2007-10-2 12:50:42
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 ...

Run a java file on linux

595 byte By rakesh.sagara at 2007-10-2 12:59:54
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 ...

jmx notification problem

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 ...

how to display a pdf file

354 byte By tibehanaa at 2007-10-2 13:01:37
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 ...

java.lang.UnsupportedClassVersionError

5368 byte By liaodongyana at 2007-10-2 13:14:34
Everytime when I started SUN Application Server after starting the pointbase Database, I would face the following error message from server.log ...

how to detect whether /java/awt/Graphics2D is available

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 ...

Dynamic Type Checking... Is this possible?

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 ...

Major Keytool problem - not RFC 3280 ?

748 byte By slowjazza at 2007-10-2 13:36:08
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 ...

error

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?

java.security.spec.InvalidKeySpecException: Unknown key spec.

358 byte By rahul7881a at 2007-10-2 13:38:51
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 ...

JMX newbie question: isn't jmx just a private case of remoting / rmi ?

792 byte By solmyr72a at 2007-10-2 13:42:10
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, ...

Some problem with socket

9466 byte By roger5089a at 2007-10-2 13:55:19
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 ...

Doubt in Java print API

256 byte By Anand.Ramana at 2007-10-2 13:58:12
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

java.class.path property

595 byte By GentleHint3000a at 2007-10-2 14:01:01
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 ...

Load policy file in JAAS

1059 byte By siddhu78a at 2007-10-2 14:06:10
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 ...

Where to download SDK 1.4.2_02?

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

JCK testcases for Large File Support.

368 byte By Anup_78Ba at 2007-10-2 14:10:28
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 ...

(Unsupported major.minor version 48.0)

269 byte By mandava_naveena at 2007-10-2 14:12:24
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

converting html forms to java

4130 byte By Mr_Blacka at 2007-10-2 14:16:06
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 ...

sdk 1.4 vs sdk1.5

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

Permanent proxy login and password setting

351 byte By nocciolonea at 2007-10-2 14:20:42
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 ...

Problems with the running of my application

1340 byte By thomas_from_toulousea at 2007-10-2 14:20:50
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 ...

Problems in keytool in jarsigning

559 byte By grace2k6a at 2007-10-2 14:26:51
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 ...

password change

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 ...

JDK and Netbeans 5.0

325 byte By lulusheriffa at 2007-10-2 14:40:05
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 ...

Problem with my IDE, requesting assistance. (with picture)

599 byte By killingdjefa at 2007-10-2 14:56:20
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 ...