Forums Register Login

Disaster: as Cindy promised me

+Pie Number of slices to send: Send
Untill recently I have been using JDK1.3.1.
Due to misunderstanding (i.e. some confusion in my head, sometimes) and because I have not consulted before with Cindy, I installed JRE1.4 (j2re-1_4_1_01-windows-i586.exe).
Tried running in Command line:
java
started giving the following error.
“Registry key ‘Software\javasoft\Java Runtime Environment\CurrentVersion’ has value ‘1.3’, but ‘1.4’ is required.
Eror: could not find java.dll
Error: could not find java 2 Runtime Environment”
while
javac or jar commands
are not “recognized as an internal or external command, operable program or file”
I uninstalled JRE1.4, JDK1.3.1 (I also tried to uninstall JDK because just uninstalling JRE did not give results) and installed again JDK1.3.1.
Now the command java runs but javac and jar are still not. What is wrong?
+Pie Number of slices to send: Send
You know Guennadii,
We could go down this path and resolve your classpath and Windows Registry issues - but I got the impression that you are actually trying to code for a BROWSER. Is that true, or are you doing a little coding for stand alone applications also?
If you are attempting to code for some stand alone applications (to run outside a browser) - then HOW did you actually uninstall JRE1.4?
+Pie Number of slices to send: Send
Cindy,
as matter of fact, I wanted even to post a new thread abt it:
What is being changed in Registry during installation of JDK and JRE?
Is it possible to configure CD and run javac/java from CD (for ex., I am in a library branch and it has PCs with restrictions and no administrator nearby). There are millions of PCs, in banks, in big organizations, where you have MS Windows installed, you may run MS VBS but it is not possible to install and run java
Earlier I used JBUilder without any concerns about deployment.
I have tasks both for a browser and stand-alone (though it is possible to program an applet with possibility to run stand-alone). Currently, I am free-lancer, I do not like to switch to MS programming but Sun overcomplicated everything
[ November 19, 2002: Message edited by: G Vanin ]
+Pie Number of slices to send: Send
j2sdk-1_3_1_01-win.exe installs, or at least assures it at the end of installation, that Java Runtime Environment was installed
+Pie Number of slices to send: Send
If you have a CD with the Java JRE on it, and your application on it, then you can create a .bat file that sets the classpath to look at the CD to get the JRE. All this can be done even if there is no JRE on the user machine.
However if you are using a browser to present your applet, the browser will go to the Windows Registry to find out where go get the Java Plugin.
Try going to the Run command
>Start/Run/Regedit.exe
And look in the HKEY_LOCAL_MACHINE/Software/JavaSoft directory and you can see how it is set up.
Yes, my master! Here is the tiny ad you asked for:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 977 times.
Similar Threads
couldn't able to solve the problem!!
157 Question Help and Resourses
Not able to retrieve files name s from a folder
Visaul Age install on Win XP - Question
any hints for creating &/or using existing UNICODE convertor/processor?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 00:55:07.