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 GMTHello. 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 GMTHiwhen 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 GMTHello 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 GMTI 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 GMTI'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 GMTMy 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 GMTWe 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 GMTVery 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 GMTmy 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 GMTI 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 GMThi 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 GMTHi,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 GMTI 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 GMTI was wandering on the web for days, give me a hand, please~...
Comments (1) | Promote | Bookmark
URGENThelpSat, 30 Dec 1899 00:00:00 GMTMy 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 GMTHello!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 GMTHow 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 GMTGreetings,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 GMTJust 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 ...
Hey there,I wrote my first program in java and compiled it .I got this message:-libgcj-javac-placeholder.shThis script is a placeholder for the /usr/bin/javacmaster link required by jpackage.org conventions. libgcj'srmiregistry, rmic and jar tools are now slave symlinks to thesemasters, and ...
Auomatic TOC--Key: DSY-564URL: http://issues.cocoondev.org//browse/DSY-564Project: DaisyType: Feature WishComponents: Frontend (wiki)Versions: 2.1Environment: Windows 2003 ServerReporter: Shiva ShankarPriority: MinorThe default skin should be modified to include a Table of Contents (TOC) generat...
Hi all, I have some questions in Java Hotspot:1. Will Java Hotspot activate automatically if I am using Java SDK 1.3 or above? Or I should tell the JVM explicitly that I want to use Hotspot?2. My company is using IBM Websphere Application Server(WAS) as our production server. If Hotspot will ...
Hi All,I am facing problem regarding pagination of the results. I am putting my problem more clearly to you.I need to get the data from the database based on 6 values. The data which I get is very huge. This data needs to computed and I need to show the computed data to the user in seperate page...
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 ...
Hi All:As we know, when we using Tomcat, all the class file should be under webapps\Root\WEB-INF\classes folder.But when we type in the URL is http://localhost/servlet/anyfile.classso how come I can't file the servlet folder under tomcat folder, but I can run my class file, no problem.So my...
Does anyone know how to dynamically change tree node images and the colour of their connecting lines?As UIManager.put( "Tree.line", Color.red); only works before tree has been created..Many thanks in advance for your help......
[ ]Yonik Seeley resolved LUCENE-463: Resolution: Invalid Assign To: Yonik SeeleyClosing. You can reopen if string sorting doesn't solve the problem for youSorting does not work correcly on "String Date"Key: LUCENE-463URL:Project: Lucene - JavaType: BugEnvironment: Java Windows XP, JRE 1.3.1...
Hello everybody ,I had made an application which will do something on button click event.The problem is that when application action event is called,screen will not interacted ,as long as that code is processed.Another thing is that when application is processing action event ,If I minimize the ...
Hello ,I have two question about UrlyBird:1-When I conect in local mode , is necessary start the server?.2-I thing that when I read a one line of the file (is the same that a record ) , the byte that indicate if the record is delete , is to the end of this line , ex: Palace smallvile ... ... Cli...