Home » Directory

Java Technology

Web Start & JBossSat, 30 Dec 1899 00:00:00 GMT

I'm trying to access a JBoss stateless session bean from a Java application launched using Web Start.The line of code which throws an exception is:// Get a reference to the Interest BeanObject ref = jndiContext.lookup("interest/Interest");The exception is:java.security.AccessControlException: ...

Comments (3) | Promote | Bookmark

JSObject.getWindow(this)Sat, 30 Dec 1899 00:00:00 GMT

Hello. I am running an applet which makes calls to javascript functions using the netscape JSObject. This works fine in multiple browsers on PC but wont work at all on Mac Safari/Firefox for Mac/or IE for Mac. What happens is it throws JSException at JSObject.getWindow(JSObject.java) I have ...

Comments (2) | Promote | Bookmark

Search Index says Normal Template instead of listing the help page namesSat, 30 Dec 1899 00:00:00 GMT

Hiwhen I type a search word into the Java Help Find text box. The search system lists relevant pages (in the pane underneath the Find text box) but instead of giving the page titles it just says "Normal Template".Does any one know how I can fix this?Thanks....

Comments (2) | Promote | Bookmark

Different version of the JRESat, 30 Dec 1899 00:00:00 GMT

Hello Gurus,somebody told me, that sometimes there are problems to run a java-class ,which is compiled with jdk 1.3, in a jre 1.4.Is this correct ?I try different java-classes and i have no problems.Thanks for your answersStephan...

Comments (2) | Promote | Bookmark

packaging jre with applicationSat, 30 Dec 1899 00:00:00 GMT

I was wondering if there was a way I could package the jre (I'm using 1.4) with my application so that the user does not need to have the jre installed in order to run my app.Is this possible and would I have to worry about legal stuff? :)thanks...

Comments (2) | Promote | Bookmark

cant get javac on my win98 computerSat, 30 Dec 1899 00:00:00 GMT

I've downloaded just about everything on this site by now, and I've read just about every help page. All I want is to be able to write some simple little java programs, and then save them and compile them using javac at the dos prompt and then run them using java at the dos prompt. Can anyone ...

Comments (2) | Promote | Bookmark

How to access the selected file in your desktopSat, 30 Dec 1899 00:00:00 GMT

My project involves a Java program running in the background which is used to copy files that I have selected on the desktop or file explorer. I have a slight problem. Suppose i have a file selected on my desktop or on a a windows folder. Is there anyway that I could determine what that ...

Comments (1) | Promote | Bookmark

stray jnlp files gets downloaded onto the desktop when using Safari on MAC.Sat, 30 Dec 1899 00:00:00 GMT

We are using jdk 1.4 webstart and safari browser on a mac machine.Once the web start begins a jnlp file gets downloaded on to the desktop but does not get deleted. This happens each time the webstart begins thus the desktop is cluttered with stray .jnlp files each time web start is used. Is ...

Comments (1) | Promote | Bookmark

Library concept in java.exeSat, 30 Dec 1899 00:00:00 GMT

Very general question:Is there a way to specify a directory that holds a bunch of .jar files within the command line so that all those .jar files are loaded into the ClassLoader instead of having to do a class path entry for every .jar file?Any help would be appreciated....

Comments (1) | Promote | Bookmark

loading directory within jarSat, 30 Dec 1899 00:00:00 GMT

my program has sample files in the directory "help/samples/". they are a bunch of .txt files. when the user selects "Open Samples" i have a JFileChooser open and pointed to that directory so that they can select what sample file they want to open. now when i put the program in to a jar the ...

Comments (1) | Promote | Bookmark

URGENT! Java.awt packageSat, 30 Dec 1899 00:00:00 GMT

I am new in java, and I have a big problem.how can I find the java.awt package ?where can I get it?obviusly I need it to develop a GUI but I cannot find it, please tell what I should do. ...

Comments (1) | Promote | Bookmark

How to deploy Java application securelySat, 30 Dec 1899 00:00:00 GMT

hi everybody,I hope u can help me. Because this is my last resort.My problem is describing below.I have created a java application(Stand alone). Now I have to install that into a machine. When I am installing any how i have to copy all .class files to the system. When I am copying, how will I ...

Comments (1) | Promote | Bookmark

Splash screen & command lineSat, 30 Dec 1899 00:00:00 GMT

Hi,I have a problem with the javaws splash screen.My web start app will be launched from another application using the command line, because we need to provide it with some startup arguments using the "-open" option.Now, when I lauch my app using javaws -open "xxx" http://xxx.com/myapp.jnlp my ...

Comments (1) | Promote | Bookmark

cannot solve a NoClassDefFoundError problemSat, 30 Dec 1899 00:00:00 GMT

I have two jars. One is an executable jar and the other has classes used as a library by the executable jar.The executable jar has a manifest that identifying the main class and nothing else. There is no class path definition in the manifest.The library jar has a basic default manifest ...

Comments (1) | Promote | Bookmark

where could I get J2SDKEE for RedHat linux/sparc?Sat, 30 Dec 1899 00:00:00 GMT

I was wandering on the web for days, give me a hand, please~...

Comments (1) | Promote | Bookmark

URGENThelpSat, 30 Dec 1899 00:00:00 GMT

My programme can run in Jubilder7 ,but I can't run after I translated to EXE,why?(I have added all used package) thanks you...

Comments (1) | Promote | Bookmark

Stupid QuestionSat, 30 Dec 1899 00:00:00 GMT

Hello!I have made an Java application on my Windows NT machine running Apache and Tomcat. Now I want it to run on Sun Solaris.Can I copy my .class files directly from my Windows machine or do I need to compile them on the Sun Solaris machine? ...

Comments (1) | Promote | Bookmark

Automatically Convert Any Web Page To Any Specified Foreign LanguageSat, 30 Dec 1899 00:00:00 GMT

How Can I Automatically Convert or Translate Any Web Site into any Specified language.Like The One Specified BelowPlease Refer : http://babelfish.altavista.com/How can i Develop This . . . . ?Also If I Have my Database (Oracle 10g) in English and i want to display its contents in any specified ...

Comments (0) | Promote | Bookmark

Cannot invoked WS thru HTTPS from Web Start-ed clientSat, 30 Dec 1899 00:00:00 GMT

Greetings,I run an Axis client, being deployed thru Web Start on client machines. It can also be run standalone (java 'main'). I run JDK 1.4.2 on AppServer SunOne 7.The client connects to an Axis server thru HTTPS (which is not the server from where it was downloaded from). I have the JNLP ...

Comments (0) | Promote | Bookmark

jre & java-gcj-compatSat, 30 Dec 1899 00:00:00 GMT

Just loaded up a Fedora 5 environment & I'm trying to install jre (tried several versions 1.4, 6 beta). Fedora's java-gcj-compat level is at 1.4.2. All of the jre pre-req messages said that the verion of java-gcj-compat must be at 1.0.31 an older version than FC5's). Is there a way to ...

Comments (0) | Promote | Bookmark