Message from news Most recent post: 4/12/2006 2 authors and 2 replies. Hi, I want to run this JAVA ap. & I read:- ]Because Protg is written in JAVA, it'll run on any platform that ]supports a version 1.4.2 compliant JAVA Virtual Machine (this includes ]Windows XP, Linux, and Macintosh machines). The latest linux installation I have got is Mandrake9 , which has: j2re-1.4.0._01 Which I installed, but it did not have a man or any tutorial. According to some old sun tutors and the actual kaffe 1.0.7, 'JAVAc ID.JAVA', complies ID.JAVA to create byte-code file: ID.class . And 'JAVA ID' runs the byte-code. I tested helloWorld after installing kaffe 1.0.7, my first JAVA action ! Now when I want to 'extend' to the newly installed j2re-1.4.0._01, I can not find any JAVAc executable. All executables are binary, except a script: ControlPanel, which ends with: <SomeDir>/bin/JAVA -D<long string of args> When I run this script, I see error messages. Q- how do I activate the compiler ? Q - what are the essential env-vars for j2re & how are they set. Thanks for any info. == Chris Glur. read more about Set/check run Environment for j2re-1.4.0 ?
Message from Wolf Kirchmeir Most recent post: 1/22/2006 2 authors and 2 replies. I've J2SE Runtime Environment updates numbers 4, 5, and 6, installed. Are these cumulative? If so, can I safely delete #s 4 and 5? Thanks. read more about Too many JAVA updates?
Message from FEEB Most recent post: 11/18/2005 3 authors and 5 replies. I just installed JRE1.5.0_05 AMD64 package on my RHEL4 Quad Opteron and I found that there is no 'plugin' subdirectory in the package and no libJAVAplugin_oji.so file. Where can I get the file from? Has the plugin system changed in JRE 1.5.*? There is no mention of this at SUN JAVA site and I couldn't find anything by googling either. Thanks<feeb@xxxxxxxxxxx> read more about Where is libJAVAplugin_oji.so in JRE 1.5.0_05?
Message from jim shirreffs Most recent post: 11/13/2005 3 authors and 11 replies. I've tried just about everything to get logging working in tomcat5.5.7. Can anyone tell me how to get container level logging working? I keep getting this error log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.ClassLoaderFactory). log4j:WARN Please initialize the log4j system properly. This problem is happening on two diferent tomcat installs, I've been to Apacte site and done everything thier docs say to do. And still logging does not work. thanks js read more about logging setup problem with tomcat5.5.7 .... need help please.
Message from Bob Bamburg Most recent post: 7/1/2005 2 authors and 2 replies. Help... I've just been presented with the responsibility of supporting a JSP application. The person who was handling EVERYTHING has left us (Rest his soul) and didn't leave any documentation. The first thing I need to do is create a backup server and copy the application to it. It is running on a Linux ??? platform at the moment. I am VERY comfortable working on Windows and have some experience on Linux. I've NO experience with JSP but believe I am a quick study. The app seems to be using JAVABeans, MySQL and JSP. Can someone suggest a resource where I can start? Should I make the backup server the same OS as the current server? What config files do I need to copy? I realize nothing is as easy as it sounds but should not I be able to load a computer with Linux, Install the Apache, Tomcat, and MySQL, copy the MySQL database, the WebApp, some config files and viola... We got a backup server? Thanks for any assistance you can provide. BB read more about JSP Backup Server
Message from Richard F.L.R.Snashall Most recent post: 3/26/2005 2 authors and 2 replies. Is there some method within an HTML hyperlink that'd allow me to invoke a version compiled against 1.4.2 vs one compiled against 1.5.0, depending upon what was actually installed on the client machine? It's getting really irksome to set up both links in e-mail and then explaining why I've both links. read more about Invoking 1.4.2 vs 1.5.0
Message from wylbur37 Most recent post: 3/25/2005 3 authors and 3 replies. After installing Sun's J2SE SDK on Windows XP Pro, I discovered that I could run JAVA.exe (e.g., "JAVA -version") from *any* subdirectory while in Command Prompt even though I never modified the PATH string. When I typed SET (to display all environment settings), there was no variable shown that included the subdirectory where JAVA.exe resides. However, when I tried to run JAVAc.exe, it'd only run if I was either sitting on the subdirectory where it resides or when I modified the PATH string. So how come JAVAc.exe requires the usual PATH modification, but JAVA.exe does not? How did the system know where JAVA.exe was? __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs read more about How come JAVA.exe does not need a PATH setting?
Message from CDX Most recent post: 3/3/2005 2 authors and 4 replies. I'm new to JAVA and am working with the debugger in the Sun ONE Studio 5 IDE. I'm looking at the local variable window and see a variable called props (which my code created using new Properties(). Why for it's value do I see #78 instead of something like the class name or such? I guess I would expect something more than #78.CDX read more about Debugging in Sun ONE Studio 5
Message from Al Franz Most recent post: 2/22/2005 2 authors and 2 replies. Was told I've to have the Sun JAVA Runtime on my WinXP machine to display certain web pages. Where is the official download for this? I go to sun.com but see so many different JAVA kits to download it isn't clear what is the proper download. read more about Where official JAVA Runtime?
Message from Hiawatha Bray Most recent post: 2/18/2005 2 authors and 2 replies. Help! I'm trying to install this and I keep getting an error message. From inside /usr/JAVA/jdk1.5.0, I type /bin/bash /tmp/jai-1_1_2_01-lib-linux-i586-jdk.bin The program starts to install, but then I get Unpacking... Checksumming... 0 0 This isn't a proper JDK directory. Exiting install. I'm confused. What's improper about the directory? Help! read more about How do I install JAVA Advanced Imaging API?
Message from Franklin Barths Most recent post: 10/21/2004 2 authors and 3 replies. It seemed when I first installed J2SE SDK and the Tomcat server, that it did not get along with MS's Visual Studio and IIS server. That was in Windows 98. Now I'm running WinXP Pro, and I'm getting tired of maintaining two versions of the operating system - one Win XP running my JAVA stuff, and another WinXP running my C# stuff (I'm a student). I'd like to put the two development environments on the same operating system. Can it be done so that the Microsoft Visual Studio.NET and IIS does not interfere my JAVA SDK and Tomcat development software? --->Barths read more about Can JAVA SDK/Tomcat coexist with /VisualStudio.NET/IIS?
Message from lakshmi_nj Most recent post: 9/16/2004 2 authors and 2 replies. Hi, Does anyone have info on web hosts that let you run your own JAVA chat server on the host machine? I am volunteering for a mentor program for kids that has a website, chumz.net hosted on Yahoo. I found a free JAVA chat server and client program called Babylon (http://visopsys.org/andy/babylon/) that enables users to send text as well as share a paint canvas. This is really nice and I'd like to use this if possible. Only problem is I can not find web hosts that let you run such a chat server. Of course, I also want administrative controls like starting/stopping and moderating the chat, etc. Since it is a volunteer org, this can not be too expensive -- right now we pay about $20 per month for Yahoo's standard package. Any info'd be appreciated. Thanks, Lakshmi Natarajan Ps. This is cross-posted because I could not find a special group for this subject. read more about I want to run my own JAVA chat server on a web host
Message from julie.larson Most recent post: 9/3/2004 2 authors and 2 replies. Hello, I'm sorry to pester the whole world, but a search turns up no more meaningful information that I have not explored already. I'm using Tomcat 5.0.24 and encountering a maddening problem. Is there any known cure for this? I'm using all public constructors that take no arguments. The package path is correct in the WEB-INF classes folder and in the jar as well. Thank you for any additional suggestions that might help! -Julie Here's the stack trace: 2004-08-20 21:31:49 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /authenticate.jsp(15,0) The value for the useBean class attribute com.company.product.thing is invalid. at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.JAVA:39) at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.JAVA:357) at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.JAVA:141) at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.JAVA:1217) at org.apache.jasper.compiler.Node$UseBean.accept(Node.JAVA:1116) at org.apache.jasper.compiler.Node$Nodes.visit(Node.JAVA:2163) at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.JAVA:2213) at org.apache.jasper.compiler.Node$Visitor.visit(Node.JAVA:2219) at org.apache.jasper.compiler.Node$Root.accept(Node.JAVA:456) at org.apache.jasper.compiler.Node$Nod read more about The value for the useBean class attribute com.company.product.thing is invalid
Message from Jim Madsen Most recent post: 9/2/2004 2 authors and 3 replies. Greetings-- My son just signed up for a programming course in JAVA at the local community college. He needs the latest copy of JAVA on his computer. He doesn't have an internet connection on his PC. I tried manually downloading a copy of the installation program (manual d/l) from JAVA.com, but it appears to be only an installation program (about 1.3 MB). Is there anyplace I can download a copy of the whole JAVA installation, so that he can install it without an internet connection? Jim read more about installing w/o web access
Message from joseph_daniel_zukiger Most recent post: 8/10/2004 2 authors and 2 replies. What's the difference? Why do most of the linux instructions say to point JAVA_PATH to JAVA_HOME (parent of the bin), but many university lab instructions say to point JAVA_PATH to ${JAVA_HOME}/bin? (Just not feeling comfortable here.) read more about difference between JAVA_PATH and JAVA_HOME
Message from javac Most recent post: 7/10/2004 2 authors and 2 replies. in linux (Fedora 1) I downloaded the JDK and it installed itself nicely at: /home/net/jdk1.5.0/ then I downloaded the netbeans .jar file, and, at the shell prompt, tried "/home/net/jdk1.5.0/bin/JAVA -jar /home/net/netbeans-3_6-setup.jar" which seemed to work fine. however, here's the result: (Jul 4, 2004 1:50:45 AM), Setup.product.install, com.installshield.product.service.product.PureJAVAProductServiceImpl$Installer, err, ProductException: (error code = 601; message="JVM not found") STACK_TRACE: 8 ProductException: (error code = 601; message="JVM not found") at com.installshield.product.actions.JVMResolution.install(JVMResolution.JAVA:171) at com.installshield.product.service.product.PureJAVAProductServiceImpl$InstallProduct.checkUninstallerJVMResolution(PureJAVAProductServiceImpl.JAVA:4747) at com.installshield.product.service.product.PureJAVAProductServiceImpl$InstallProduct.install(PureJAVAProductServiceImpl.JAVA:4523) at com.installshield.product.service.product.PureJAVAProductServiceImpl$Installer.execute(PureJAVAProductServiceImpl.JAVA:3727) at com.installshield.wizard.service.AsynchronousOperation.run(AsynchronousOperation.JAVA:40) at JAVA.lang.Thread.run(Thread.JAVA:595) why did not this work, please?thanks, JAVAc at mail dot com read more about help: deciphering netBeans install.log
Message from D E Most recent post: 6/14/2004 2 authors and 2 replies. Is this possible to install Tomcat 5.0 on windows 98 NOT as a service? read more about installation of Tomcat 5.0 on windows 98 NOT AS a service
Message from glh-usenet Most recent post: 5/19/2004 6 authors and 13 replies. I've inherited the responsibility of setting up a college lab for JAVA classes. I know next to nothing about JAVA and have a few questions; Our current configuration is; Windows 2000 / XP lab machines with J2SE 1.4.2 Redhat 8.0 server with J2SE 1.4.2 Students telnet into the Redhat server and use PICO to create their scripts. My question is; If the student programs are designed to display GUI type boxes'd this be possible via telnet? From my limited experience with Linux I'd think they'd need XWindows access to do this. ??? Thanks, -Giles read more about setting up classroom lab
Message from sambitbasu Most recent post: 4/2/2004 2 authors and 2 replies. I've a third-party jar file weblogic.jar. On my redhat system, I put it in my $JAVA_HOME/jre/lib/ext and call a class from anywhere by "JAVA weblogic.Admin". It works just fine. I do the same on my Mandrake system. But the system complains with "JAVA.lang.NoClassDefFoundError: weblogic/Admin" exception. I put it in (say) /export/workarea/classes and added "/export/workarea/classes/weblogic.jar" explicitly in my class path. Called "JAVA weblogic.Admin" and got the same "JAVA.lang.NoClassDefFoundError: weblogic/Admin" exception. Now, I extract the contents of the jar under "/export/workarea/classes/weblogic/". I go to /export/workarea/classes/weblogic/ and issue "JAVA weblogic.Admin". This time it works fine. So, it seems the JVM has problem reading Jar. Can anybody give me any idea as to what's the deal here? I am using 1.4.1_03. I've tried using the 1.4.2_02 also with same result.Thanks, - Sambit if you can cc your resonse to my email address too, I will appreciate that. read more about Problem with reading Jar
Message from webmaster Most recent post: 3/4/2004 2 authors and 2 replies. I have looked everywhere on the web and groups for an answer to this. I get the message 'No Print Service Found' when trying to print from a JAVA program such as jEdit. I'm running on RedHat 9 Linux with Blackdown's 1.4.1 JVM. Can anyone suggest how to configure this, or a place to look. I can print OK on a Windows install of the same software. thanks read more about pls help: Redhat 9 - No Print Service Found
Message from adambunim Most recent post: 2/28/2004 2 authors and 2 replies. how do I create an exe file in JAVA? read more about exe files
Message from James Hallam Most recent post: 2/23/2004 4 authors and 6 replies. I have just had to reinstall my system (and therefore JAVA) but now I'm trying to reinstall the sdk (version j2ee 1.4) but I keep getting the following error: J2eesdk-1_4-dr-windows-eval has caused an error in MSVCRT.DLL. I'm using a Windows Me (any snide comments about the OS will be ignored) computer with plenty of hard-drive space and RAM, and have loaded the JAVA Runtime Environment 1.4.2 successfully. I have not got any updates on windows as they just tend to cause problems quicker than without the updates, so it may be that I need an updated MSVCRT.dll? Many thanks, James Hallam read more about Help setting up the SDK...
Message from Richard Most recent post: 1/27/2004 2 authors and 2 replies. SuSE 8.2 Intel One of our JAVA developers wants to have his app (.jar) start up in a /etc/init.d script for run levels 3 and 5 (/etc/init.d/rc{3,5}.d He says the command-line invocation is JAVA -jar hisProg.jar to run in the foreground, or (obviously) JAVA -jar hisProg.jar & to run in the background. I'm willing to experiment with this, but as it's a production app I'd be a lot more comfortable if I was fully versed in what's involved in getting this running as a daemon process. Clues, URLs, or other references greatly appreciated. read more about JAVA in /etc/init.d script (newbie sa question)
Message from Tyler Eaves Most recent post: 11/17/2003 2 authors and 2 replies. Hi - I'm trying to get tomcat working. I'm quite new to JAVA so I can not get much out the following from catalina.out Using CATALINA_BASE: /usr/share/tomcat4 Using CATALINA_HOME: /usr/share/tomcat4 Using CATALINA_TMPDIR: /usr/share/tomcat4/temp Using JAVA_HOME: /usr/lib/j2se/1.4 Using Security Manager Process ID of spawned JVM: 28349 Exception in thread "main" JAVA.security.AccessControlException: access denied (JAVA.util.PropertyPermission catalina.base read) at JAVA.security.AccessControlContext.checkPermission(AccessControlContext.JAVA:270) at JAVA.security.AccessController.checkPermission(AccessController.JAVA:401) at JAVA.lang.SecurityManager.checkPermission(SecurityManager.JAVA:542) at JAVA.lang.SecurityManager.checkPropertyAccess(SecurityManager.JAVA:1291) at JAVA.lang.System.getProperty(System.JAVA:572) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.JAVA:120) -- Visit my blog - http://blog.scalegen.com Music, Programming, and More. http://www.scalegen.com Tyler's Scale Generator read more about Problem with Tomcat
Message from cs_benny Most recent post: 11/13/2003 2 authors and 2 replies. Dear All, I want to ask about the setting in tomcat. Since I am going to enhance an existing web application, but I do not want to disturb the existing application which is used by the users while I am developing for the new functionality. So is it possible to configure the tomcat to let me have two versions of web application in the same tomcat instance. One is for the public use and the other one is for my development purpose ?? Thanks for your kind attention. Yours faithfully, Benny read more about Question about the setting of web application in tomcat
Message from rafasegovia Most recent post: 11/11/2003 2 authors and 2 replies. Hi there, I get this error when trying to install it from JAVA.sun.com under Windows XP: JAVA(TM) Update (1.4.2_02-b03)cannot be installed because base image (1.4.2-b28) cannot be located Any ideas? Thanks a lot, Rafael read more about Error while installing J2SE SDK 1.4.2_02
Message from fredje110 Most recent post: 11/5/2003 2 authors and 2 replies. We are planning to install BEA WebLogic 5.1 SP10 on Sun Solaris 9. Sun Solaris 9 isn't a supported platform for BEA WebLogic 5.1. Are there any obvious or less obvious problems which we might encounter? Thanks for your kind attention. Wist best regards, Fred read more about BEA WebLogic5.1
Message from ph8794 Most recent post: 11/2/2003 5 authors and 5 replies. Hi 1) I installed Tomcat (jakarta-tomcat-4.1.29) on my standalone WinXP machine. 2) I then ran startup.bat, got Starting service Tomcat-Standalone Apache Tomcat/4.1.29 Oct 31, 2003 11:44:38 PM org.apache.struts.util... ... Oct 31, 2003 11:44:45 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/109 config=C:\jakarta-tomcat-4.1.29\bin\... 3) I typed http://localhost:8080 in my browser 4) I get a message that says "Page cannot be displayed". Has anyone else gotten this before, and can anyone help? thank you. read more about Tomcat Startup Problem
Message from Stephen Ross Most recent post: 10/22/2003 2 authors and 2 replies. Just started to play with JAVA and made my first program: public class app { public static void main(String[] args) { System.out.println("Hellow JAVA""); } } I installed the current JAVA2 SDK 1.4.2 and all went well. When I try to run this program, I get the following error message (can anyone explain???) Exception in thread "main" JAVA.lang.NoClassDefFoundError: appSER read more about Newbe Run error
Message from rubelkanubel Most recent post: 10/14/2003 3 authors and 5 replies. Hi, I have just installed JRE 1.4.2_02 on a server running Solaris 8. The installation procedure went by without problems/errors (as described on Sun's pages: http://JAVA.sun.com/j2se/1.4.2/jre/install-solaris.html) When I try to execute JAVA.exe (i.e: JAVA -version) I get the following error response: Error occurred during initialization of VM JAVA.lang.Error: Properties init: Couldn't determine current working directory. If I log in as root I'm allowed to run JAVA.exe without problems. I'd really appreciate any ideas, views, comments etc. on what might be the problem ... read more about JAVA.lang.Error: Couldn't determine current working
Message from mapsmapsmaps Most recent post: 9/26/2003 2 authors and 3 replies. from the library: 2002, ISBN 0-13-092738-4, "Core JAVA 2, Volume II-Advanced Features",Sun Microsystems Press, it comes with a CD-ROM. I installed the jdk1.3.1_01 from the CD-ROM onto my friends Windows 95? (not XP) computer. JAVAc and JAVAc foo.JAVA from the "command" MSDOS prompt thing gives "Bad command or file name," rather than compiling. so, I installed Forte release 2.0, Community Edition (Build 1160) from the CD. Using Forte, I could compile ok. does forte compile on its own, or does it use 1.3, or 1.4? which one, pls Next, I downloaded and installed j2sdk1.4.2, but I still get the same errors from JAVAc and JAVAc foo.JAVA. to add insult to injury, I now have TWO DIFFERENT compilers(?), since the 1.3.1 is still on my *friends* harddrive. (it's worth noting that the 1.3.1 is just on the C:\, while the 1.4.2 version is in the program files, what the heck's up with that? never mind that the 1.4 versions shoulda removed the 1.3, to my thinking or at least've asked) 1.) how do I *uninstall* the 1.3 version safely and completely? 2.) how do I *uninstall* forte, safely and completely? 3.) how do I use the 1.4.2 JAVAc foo.JAVA? 'cause clearly I ain't doin it right. #3 is the real kicker please. I suppose this is not even a JAVA question, c'est la vie. (for what it's worth, I have previously used the JAVAc foo.JAVA on another computer succesfully yes, I'm in the correct path/directory/whatever and I spelled it correctly.) ps read more about help: JAVAc doesnt' work, but forte does...? uninstall help, pls.
Message from mark Most recent post: 8/3/2003 2 authors and 3 replies. Hi everyone, I have a question about packages. I've structure in a package like this one : com.my_practise.JAVA Inside folder java I have few folders like beans, classes and so on. Inside last folders (beans, classes and so on) I have my classes. If I position in command promt in wanted directory, for example classes, it works fine - I can compile .JAVA files. I'd like to compile it from root c:/ - package is in root, and I have put classpath variable on for example c:\comm\my_practise\JAVA\classes but it does not work. I've tried with sun site, but i did not find wanted solution So, my question is: Please give me advise from your pratice how to fix that problem. What to do to compile and execute everything from root. thx marc read more about urgent help needed - packages
Message from George Bolgar Most recent post: 6/30/2003 2 authors and 3 replies. I am trying to install J2SDK 1.4.2 on a Windows 2000 system. I've installed the OS on my H drive, but try to install most additional applications on my F drive. I start the install process, and specify the target drive as my F drive. The Install Shield then complains I don't have enough space on my H drive, because it requires 105MB on my F drive, but 268MB on my H drive (it is the H drive which has the lack of space, the F drive has over 1GB free). My TEMP and TMP environment variables point to G:\TEMP, so that should not require access to the H drive either. Is it actually possible to install JAVA SDK substantially on any other drive than the boot drive? If so, how is it achieved? Thanks, George. read more about Installing on alternative drive