JDK 1.5/5.0 Compiler Support for JBuilder X - SOS

380 byte By JustCavalloa at 2007-10-1 8:21:35
Please can someone post me (fatose@infinito.it) the OpenTool to compile with JDK 1.5/5.0 using JBuilder X?!My problem is incredible: I can't download it from cc.borland.com because when I have the cookie from bdn.borland.com I can't log in cc.borland.com! Unfortunately the download from ...

crach tomcat 5.5.7

609 byte By terana at 2007-10-1 8:28:10
# An unexpected error has been detected by HotSpot Virtual Machine:## SIGSEGV (0xb) at pc=0x400894e7, pid=6205, tid=7176## Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode)# Problematic frame:# C [libc.so.6+0x6e4e7]## An error report file with more information is saved as ...

jdk1.5 compile error

626 byte By cartclt88a at 2007-10-1 8:31:12
Hello,I am trying to install jdk1.5 and compile sample files, but after I installed jdk1.5 and set up classpath and path(this setting works in jdk1.4.2_06), I compile sample code Hello.java, I got the following error,D:\Example\javac Hello.javaerror: error reading c:\j2se\bin\javac.exe; ...

connection of SSH or TELNET

165 byte By eltonya at 2007-10-1 8:39:08
Hello to all,I want develop an application to connect with remote system through of SSH or TELNET.I hope somebody can help methank to all

Detect connection speed

178 byte By Alortesfbfhfgytytua at 2007-10-1 8:42:50
I'm developing an application that must distinguish between high bandwidth and low bandwidth connection... how is it possible to do this whitout sending/receveing packet?

PDA or Desktop

186 byte By Alortesfbfhfgytytua at 2007-10-1 8:42:52
I need to realize an application that is capable to adapt its interface in case is running on a PDA or a Desktop... is that possible? How can I know if the device is a PDA or not?

Unable to Update Linux Date

523 byte By gengga at 2007-10-1 8:44:38
I am trying to update the Linux System Date from my Java Program using the following command:cmd = "date --set='+1 days'"This doesnt work using the Runtime.getRuntime(cmd), but if I put the same command in a shell script and tell the runtime to execute that script it works fine. Could someone ...

How can i interact with a site?

262 byte By nicationa at 2007-10-1 8:51:27
Is there a way that i can fill a form (for example, if i would like to make a google search from a java main, id like to tell www.google.com what i want to find through the form and then press enter)wish u can help meGreetings,Rodrigo

Help me !!!

1457 byte By PrabhuBalanbspa at 2007-10-1 8:52:00
Hi guys !!!I have problem in using JTabbedPane.I have three textarea in the JTabbedPane.But if i use the getText...i can retrieve only one textarea value.But i want to retrieve all the values from the three textarea at a time.I'm using the like this ...i have mention some of my program code// ...

Whare can I get the class library source code ?

600 byte By colr__a at 2007-10-1 8:54:41
I'm trying to get the class library source code, and have already downloaded the actual C files that make up the JVM b accident. I need the Java class library files.I know these are available lsomewhere, but Ive searched using the Sun site, Google and Yahoo and cant find what Im looking for.If ...

How to create a folder and a sub folder in it

631 byte By autoa at 2007-10-1 20:26:03
Hai everyone, I am developing an auto responder application in which many users will be creating different auto responders.To orgainse these lists better i need to give a folder option where a person can create a auto responder in his own folder so that the lists are maintained well.if needed ...

ByteBuffer and CRC

209 byte By charlyya at 2007-10-1 20:27:55
Hello guys!I'm not good in Java ... Can some one help me?I need to create CRC32 for bytebuffer.Then i need to put this CRC to last 4 bytes of this bye buffer.How to do this?

Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWo

425 byte By andyman3a at 2007-10-1 20:30:18
Ive followed the First cup of java Tutorial exactly, double and triple checking, and it works up until i run the app with java HellWorldAppthis is the exact messageException in thread "main" java.lang.UnsupportedClassVersionError: HelloWorldApp (Unsupported major.minor version 49.0)'then a ...

How to make the cmd window invisible

197 byte By JavaBoyInCnica at 2007-10-1 20:36:54
on the win platform, a cmd window will be there if you runa java program which will show a gui. i want to make thecmd window invisible.is it possible, and HOW?3X.

SCJD for J2SE 1.5

471 byte By dledmondsa at 2007-10-1 20:48:37
I have recently passed the SCJP exam for 1.4 (after many years of developing in java) and now I would like to start the SCJD certification. Does anyone have any ideas if/when a 1.5 version of this exam will come out and if I'm better off waiting a month or so for the next version? It costs ...

parsing a string

614 byte By autoa at 2007-10-1 20:52:55
Hai everyone,In my application i need to capture the domain name of any email -id which is passed to my application i.e., when a mail-id like,say abc@xyz.com is passed to my application, i need to know the position of the @ symbol of that id and then i had to get the content(domain name) which ...

Problems running a Java App using NetBeans

262 byte By The_Java_One_100a at 2007-10-1 21:09:06
When I run my App through NetBeans I get a java.lang.UnsupportedVersionError saying that the major and minor version is incorrect. I downgraded from v5.0 SDK back to 1.4.2_01 to test everything, but to no avail. Any1 have an idea about this?Thanks.

PrinterJob and Memory Leak

1115 byte By rodneynagela at 2007-10-1 21:18:29
I have encounter a serious memory leak when printing in Java. When the following code is compiled into a 'jar' (1.4.x and 1.5.x) and run, the Print process consumes roughly 4 Mb and never gives it back. Does anybody have a solution for recovering the lost memory?import java.awt.*;import ...

Have you ever suffer that socket channel will not send all bytes out in NIO

201 byte By googlelinya at 2007-10-1 21:20:46
I found that the when call the SocketChannel.write(ByteBuffer buf)even the buf.remaining() is zero, sometime the contents will not arrive the destination.Have you ever suffered it?

1.5.0_04

1265 byte By ah_neo82a at 2007-10-1 21:38:31
Hi all,I am facing this problem that i am unable to run my application in JDK1.5.0_04 but it works perfectly in JDK 1.4. What could be the reason?This is the error message i got when running with JDK 1.5.0_04 :Exception in thread "main" java.lang.UnsuportedClassVersionError:RoundRobinFast ...

how to call VB code to JAVA

98 byte By vidyanatha at 2007-10-1 22:00:07
hello,can we create DLL files in VB. please write step by step code. please help me.

how to call VB code to JAVA

98 byte By vidyanatha at 2007-10-1 22:00:08
hello,can we create DLL files in VB. please write step by step code. please help me.

if the page expires the

171 byte By vidyanatha at 2007-10-1 22:00:15
hello, i am using servlets and JSP, after expiring the browser page that page should redirect to another page. please help me on this topic.Thank you.

Reading and Inflating a zlib compressed file?

2783 byte By kuroyume0161a at 2007-10-1 22:05:42
There seems to be absolutely no information on how to use the new ZLIB compression/decompression in 1.4.2 for ZLIB-compressed files (NOT ZIP archives!). I have tried from a more general example here on using InflaterInputStream(), but there is always an error about the data format or ...

How to import images in Application

119 byte By Dhruvia at 2007-10-1 22:07:54
I know how to import images in Applet. Can anybody give me small example of how to import images in Application?

Socket Programming

122 byte By Janaka-Srilankaa at 2007-10-1 22:16:20
Can somebody tell be why socket programming code does not work in windows 2000 which works perfectly in Windows XP?

Prob with cd j2sdk1.4.2

343 byte By tryj2eea at 2007-10-1 22:22:05
I have installed j2sdk1.4.2 on my system. the directory is created in C: as j2sdk1.4.2, all other directories such as bin etc are also there within it, but when i run this comand on my command prompt- c:\> cd j2sdk1.4.2It gives the foll error-Invalid DirectoryWhat cud be the prob?Thanks in ...

JTable

194 byte By Dhruvia at 2007-10-1 22:22:15
Can we use JTable with an application? I have used it with an Applet. Can anybody give me an example of JTable with an application. Can we use all the swing component with an application?

Access GPIB card by J2SDK

400 byte By avijitdas1a at 2007-10-1 22:23:45
Dear Friends,I have done many projects (by jsdk-1.4.2) of data acquisition and control with serial ports (COM-1 and COM-2) by RS-232C method.But is it possible to access the GPIB card or Data Acquisition card of National Instruments (USA) for control and exchange data with some external ...

Problem linking Apache Tomcat server and JRE

279 byte By jagan18a at 2007-10-1 22:28:11
I am working on Suse 9.2.I have Tomcat server and i can find jre also.But i find it difficult to link both of these.I think only when they are linked it is possible to start Apache Tomcat server,so could anyonehelp me to solve this issue?-Jegan

not using an array of strings

448 byte By cfelssjavaa at 2007-10-1 22:30:52
how do I write a java method without using an array of strings?for example:import java.io.File;public class rename {public static void main(String[] args){File src = new File(args[0]); File dst = new File("c:\\temp\\temp.txt"); boolean wasRenamed = src.renameTo(dst); }}I don't want to have ...

rt.jar version 37.0

230 byte By nbs51a at 2007-10-1 22:39:56
I have recently installed 1-3-2 03. One of the third party programs (exactly - Visual Cafe 4.5.2) however complains that it sees version 38.0 of rt.jar and explicitly requires version 37.0. Any ideas where one can get that?

Reading/Writing PDF files using Java

86 byte By devang83a at 2007-10-1 22:40:31
Can anyone please tell me how can I read or write(create) PDF files using Java.

Problems with impoting java.sql.*

1337 byte By ad87geaoa at 2007-10-1 22:48:13
Hi.When I'm compiling the following code I get this message:SimpeltDatabaseEksempel.java:4: Package java.sql not found in import import java.sql.*What could be wrong?/larsHere is my code:import java.sql.*;public class SimpeltDatabaseeksempel{public static void main(String[] arg) throws ...

Where to find Java Class File Specification for Java 5.0?

92 byte By _Jack_a at 2007-10-1 22:50:12
Where to find Java Class File Specification for Java 5.0?thank you in advance.

java.exe and javac.exe opens then closes very quickly when I try to run it.

231 byte By mds820a at 2007-10-1 23:00:13
Ok, so I installed 1.5.0_04 and when I click on java.exe and javac.exe it opens up and then disappears very quickly so that I can't do anything. I don't know what the problem is. Please help. I need this for my Java class.

How to run a j2se program

125 byte By techn0l0gya at 2007-10-1 23:02:32
I have downloaded all items I was told to download and I wrote a program in the notepad but how do I run that program?

Can compile , cannot run...

253 byte By Stephensawa at 2007-10-1 23:05:18
I'm using J2SE , and using command prompt to compile my java class file, after I compile without any errors, then when I try to run it, it gave the error message Exception in thread "main" java.lang.NoClassDefFoundError: assignment6, why?

Java SDK 1.5?

141 byte By SunOfTheRisingMoona at 2007-10-1 23:35:45
Heard there is java sdk 1.5, but can't find it on sun java downloads page. Can someone provide a link to it? Thanks,Gil

compiling a program

293 byte By drommelsa at 2007-10-1 23:42:34
I'm new to java and have a problem compiling my program. I wrote a program using wordpad and gave it the name myprog.java.I know i have to give a command like "javac myprog.java" to use the javac compiler, but where do I give this command. Is it in a dos-box.Please help.

JVM

752 byte By Name2007a at 2007-10-1 23:51:46
Why wont the JVM create and run my progams ?## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d707b46, pid=700, tid=2644## Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode)# Problematic frame:# V ...

Java Print Service Questions

544 byte By yasirjeea at 2007-10-1 23:59:54
I've a couple of questions regarding Java Print Service API.1. I've tried to get the supported print service attributes from a print service. i can only get 4 or 5 attributes, not all of them. The printers were HPlaserjet 1000 and hp laserjet 1320N. my question is can we really get all ...

Multiple Inheritance

173 byte By JK2004a at 2007-10-2 0:09:44
Is there any mechanism to achieve multiple inheritance in java ?Example: I have 3 concrete classes ( A, B & C ).Is it possible ? Class A extends B,C

HttpUnit

171 byte By hansera at 2007-10-2 0:24:56
i am beginner to httpUnit can anyone please help me how can i start with simple examples like clicking on a link given in a web page, filling the form and subitting

License contact for questions

608 byte By gjblajiana at 2007-10-2 0:25:40
Does anyone know who at Sun I might be able to contact regarding the legality of modifying the LDAPCertStore.java class and redistributing it in open source? The current class does NOT read delta CRLs and a simple 3 line change in the class will accomodate the delta CRLs; however, the class has ...

Carrying an Http Session

3734 byte By YaseenTTa at 2007-10-2 0:27:49
Hello,My friend has a website with registeration system, he asked me to make a java client that asks the same questions and such on site, I was succesful in sending POSTs and reading response, I carried on through the session by resubmitting the HiddenFields, but once I finish the last step the ...

Applet failed problem

6353 byte By vpaia at 2007-10-2 0:29:35
Hi!Im new to working with Java applets. I am going to describe my problem with the applet I have written and all the circumstances of it because maybe I have missed out some little detail that somebody can point out. So, I was given the assignment of modifying my Professor's applet a little ...

when will a function change the param?

1753 byte By dinghaijianga at 2007-10-2 0:37:50
import java.util.*;public class test{public void setDate(Date d)throws Exception{Thread.sleep(1000);d=new Date();}public void add(HashSet h){h.add("1"+Math.random());}public static void main(String[] args)throws Exception{test t=new test();Date d=new Date();HashSet h=new ...

InetAddress.getByName gives error under 1.5 but works fine under 1.4

267 byte By Maerteijna at 2007-10-2 0:45:59
On my dev machine a InetAddress.getByName works fine when the program is run under 1.4 but under 1.5 it throws an exception that it is not a valid host. I used java.sun.com for a test. Anybody seen this behaviour.Marteijnmnouwens@future-earth.net

[LINUX] Encoding problem when my application is started at boot

831 byte By JLBINFOa at 2007-10-2 0:53:19
Hello, I've got an encoding problem with my java application under a Mandriva 10.1. Specs : - java sdk 1.4.2_08 - Choosed encoding ISO-8859-1 - Mandriva LANG variable is FR The application works with Tomcat and a servlet that makes the bridge to a database. The facts: When i start tomcat and ...