Home » Java Technology

Desktop Technologies

What is wrong with this programMon, 24 Sep 2007 17:58:00 GMT

I just craete a program to find the JAVA version according to folder path given to me. try {String command;command = "D:/program/java/j2sdk1.4.2_06/jre/bin/java -version";System.out.println(command);String line;Process p = Runtime.getRuntime().exec(command);p.waitFor();BufferedReader input = ...

Comments (8) | Promote | Bookmark

NetBeans 5.5 generated jar .... wats wrong :(Tue, 25 Sep 2007 10:52:00 GMT

hii m having the problem that when ever i double click the JAR file generated by NetBeans , it gives me an error that Could not find the main class .. Application will exit where as i have already set the main class of project using the project properties ...but if i run that jar using java ...

Comments (6) | Promote | Bookmark

Refer external JarsFri, 21 Sep 2007 09:54:00 GMT

Hi All,Is there a way in which one could refer to external jars through the manifest of a jar file. For example, i have the following directory structure:-product | |- bin || ||- myproduct.jar | |- lib || ||- resource1.jar ||- resource2.jarNow, is it possible to set the resource1.jar and ...

Comments (5) | Promote | Bookmark

Field selection problem in a form created in Oracle forms 9iSat, 22 Sep 2007 23:11:00 GMT

I am using an application created in Oracle 9 i Forms. Mouse navigation in the forms do not work properly. Since a field is selected and some string is typed then first character is allways ignored hence it is necessary to press a key like before typing required string. The same application ...

Comments (4) | Promote | Bookmark

French characters OK in SA app, but not in jsps / servletsThu, 20 Sep 2007 01:33:00 GMT

Hi,First of all, sorry if this question has already an answer here, I tried to search the forum beofre posting without finding it.I wanted to test the JDBC type 4 database access with MS SQL SERVER 2000.So I just wrote 3 classes which do a SELECT on a user table containing special French ...

Comments (4) | Promote | Bookmark

What is java's answer to NCHAR / VARCHAR2?Wed, 19 Sep 2007 08:12:00 GMT

I have a Oracle8i database (with UTF-8 as its National Language), and using 8i classes12.zip as the OCI8 JDBC Driver. I got a table called UNICODE_ENTRY, with 2 columns UNICODE_TEXT(NVARCHAR(255)) and ENCODING(VARCHAR2(128)). I'm trying to enter a chinese String encoded in UTF-8 into the ...

Comments (3) | Promote | Bookmark

Painfully obvious ?Tue, 18 Sep 2007 10:00:00 GMT

Hi all, Problem: I have an application that 99% works under Webstart, no probs from commandline.. the idea is it arrives and starts under Webstart from there is then downloads other .jar files which are unknown at runtime (else id have them in the jnlp as well) I have source like so: ...

Comments (3) | Promote | Bookmark

JavaHelp & AurigaDocSun, 23 Sep 2007 13:55:00 GMT

I would like to use JavaHelp to create documentation for my program. I also want to hava a version of this documentation that can be printed, e.g. a pdf file. Is there any chance to convert JavaHelp files to pdf (or some other printable format)?I tried to use AurigaDoc for that pupose. There is ...

Comments (3) | Promote | Bookmark

Which Java is invoked?Thu, 20 Sep 2007 19:37:00 GMT

Is there a way to tell which Java is invoked (without programming some diagnostic) when an applet is called? Also, I need to be able to switch between the MSJVM and Sun's JVM. How can I do that?Thanks for any insight....

Comments (3) | Promote | Bookmark

Uninstall previous versions at installWed, 14 Nov 2007 15:59:00 GMT

Can I have the installer of JRE 6.0 automatically uninstall any previous versions like 5.0.6 and higher on install?I am distributing the MSI with corresponding MST using GPO....

Comments (2) | Promote | Bookmark

problem about execute commond on platform?Tue, 18 Sep 2007 13:52:00 GMT

i try to execute commond on window platform (the same problem as on solaris) via exec(String commond) method of Runtime, which return the type of Process; but fail as error message 1):how can i execute the commond (ex:dir,date,...) and let it return its result as running commond in commond ...

Comments (2) | Promote | Bookmark

listing all files in a deirectorySat, 12 Jan 2008 03:39:00 GMT

I need a method that will recursively list all the files in a directory. Any ideas? ...

Comments (2) | Promote | Bookmark

Can I delete old versions of JRE?Thu, 15 Nov 2007 06:10:00 GMT

I am currently running JRE 6.1. Can I delete all the old versions? These are the ones currently installed on my computer:J2SE Runtime Environment 5.0 Update 10J2SE Runtime Environment 5.0 Update 11J2SE Runtime Environment 5.0 Update 4J2SE Runtime Environment 5.0 Update 6Java 2 Runtime ...

Comments (2) | Promote | Bookmark

No keyboard inputWed, 14 Nov 2007 09:28:00 GMT

Hi!I am using Secure Global Desktop Native Client on two computers with Kubuntu 6.06 installations. One is working flawlessly but at the other I am not able to enter the password via keyboard. So what's the problem?$ ttwebtop -versionX does not support localeCannot set input modifiersWarning: ...

Comments (1) | Promote | Bookmark

Relative Paths - Quick QuestionThu, 15 Nov 2007 02:57:00 GMT

I finally got everything to work with Java Web Start but now I have a minor problem with the way it handles relative paths. At one point I use:new File(someString)where someString is a relative path to an XML file inside the JAR. It works fine when I run the program in Eclipse but when I run it ...

Comments (1) | Promote | Bookmark

TTLA EE with FirewallTue, 13 Nov 2007 20:51:00 GMT

Hi,I am using Tarantella EE ver 4 installed on Red-Hat 9. I want to use thisserver as an Email Server as well as Firewall also. Any ideas How I can do this ?Thanks,Arun Srivastava ...

Comments (1) | Promote | Bookmark

registry problemFri, 21 Sep 2007 15:28:00 GMT

C:\Documents and Settings\test\Desktop\programming\j2se_1.4\sup1-egs\net\Authenticator>java mainRegistry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'has value '1.2', but '1.4' is required.Error: could not find java.dllError: could not find Java 2 Runtime ...

Comments (1) | Promote | Bookmark

Attaching Java Input Methods to AppletsSun, 23 Sep 2007 21:12:00 GMT

*************** What I'd like to doI'd like to create (X)HTML pages with Swing text widgets thatallow users to type in Unicode Russian, Georgian, Hopi, or whatever.But I can't assume that the users are capable of installingnew input methods or fonts to the appropriate Java installationused ...

Comments (1) | Promote | Bookmark

Setting path (Linux). 3 different explanationsTue, 18 Sep 2007 23:34:00 GMT

I found 3 different explanations how to seth path:1) export JAVA_HOME=/usr/java/jre1.3.1_02export PATH=$JAVA_HOME/binexport CLASSPATH=$JAVA_HOME/lib/rt.jarThose three lines should get java working. Put them in /etc/profile or your ~/.bash_profile to have them set up when you log in. 2)Add the ...

Comments (1) | Promote | Bookmark

Text files & Windows notepad.Fri, 21 Sep 2007 10:33:00 GMT

Iv'e made a text editing program like notepad. When I save a file and then open it with notepad, there are all these little squares where there should be a new line. If I open the file with IE, wordpad or MS Word, all goes well and the text appears as it should.How do I get notepad to read ...

Comments (1) | Promote | Bookmark

1.5.03 does not fix scary screenSun, 23 Sep 2007 12:30:00 GMT

http://java.sun.com/j2se/1.5.0/ReleaseNotes.htmlshows this "Scary enduser screen" in webstart bug not fixedhttp://forums.java.net/jive/thread.jspa?forumID=25&threadID=315&messageID=9214All it needs is Wordsmithing..V...

Comments (1) | Promote | Bookmark

Problem with java.exeThu, 20 Sep 2007 21:29:00 GMT

Hi there, I have had Java 1.4 SDK running on my machine now for several month however I am now experiencing problems when trying to run java.exe....Whenever I try to run (for example):>> java helloWorldI get the following error message:Exception in thread "main" ...

Comments (1) | Promote | Bookmark

JRE 1.4.2_04 doesn't install Java browser Plug in... :(Sat, 22 Sep 2007 10:16:00 GMT

As the title say, therefore I had to uninstall 1.4.2_04 then reinstall 1.4.2_01... the "Browser Plugin Installation" Screen with two check boxes (Internet Explorer and Netscape Navigator) from 1.4.2_01 disappeared in 1.4.2_04, what's up with this? ...

Comments (1) | Promote | Bookmark

No BackgroundImage when using WebStartSun, 23 Sep 2007 15:03:00 GMT

Hi folks!I need your help again. This time it is about a component of mine( a subclass of JPanel) that I created to show an image in the "background" of this panel.Now I'm experiencing a quite strange behaviour:The image in the background won't be drawn for some reason when I'm using Java ...

Comments (1) | Promote | Bookmark

Install jsdk on linux red hat 7.0Tue, 18 Sep 2007 14:48:00 GMT

Hi everybody,I have tried to install jsdk 1.3 on linux red hat 7.0 but i obtain one error message when i try to execute java,javac.... I dont know which is the problem. Can somebody help me? Please its importantThanks ...

Comments (1) | Promote | Bookmark

How to install NIS in Solaris8Tue, 18 Sep 2007 05:36:00 GMT

I want to install NIS or NIS+ in Solaris 8. How do I do that? Any good documentation about that? ...

Comments (1) | Promote | Bookmark

Iam not getting loacal server home page in brosers.Wed, 14 Nov 2007 16:47:00 GMT

hellow sir,iam sridhar.I have some technical problem.I started Bea Weblogic version 8.0,Apache Tomcat version 5.0 success fully.But when iam giving url like"http://localhost:8080/manager/html" for tomcat, and url like "http://localhost:7001/console" for weblogic iam not getting servers home ...

Comments (1) | Promote | Bookmark

hs_err_pid1680.logMon, 24 Sep 2007 20:00:00 GMT

i play pogo everyday and all of a sudden i cant play this game and it only does it on this particular game. but heres the log.## An unexpected error has been detected by HotSpot Virtual Machine:## EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x07047b41, pid=1680, tid=1300## Java VM: Java ...

Comments (0) | Promote | Bookmark

JNLP API on server sideTue, 25 Sep 2007 00:15:00 GMT

Hi,Can I install Java webstart on server and use JNLP API http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/in server side code, for saving document to file using PersistentService class....

Comments (0) | Promote | Bookmark

I need a help with a ToolBarWed, 14 Nov 2007 13:02:00 GMT

How to make a ToolBar with a style of the OpenOffice Writer, with all mobility?...

Comments (0) | Promote | Bookmark