Updating to j2se 5, update 7 (jre and jdk) problems..
I'm runnin win98se, and meet all the minimum requirements..Well I just installed both the jdk and the jre using the online installation. Where did the jdk go? I have no idea what folder the javac.exe file is, so I can't compile anything. Any suggestions? And will the jre be automatically update when I use java.exe command?
I'm runnin win98se, and meet all the minimum
requirements..Well I just installed both the jdk and
the jre using the online installation. Where did the
jdk go?Even Win98 SE has a file search. Plus, since Windows installs everything into "Program Files" or what it's called if not directed otherwise, I'd have a look there.
I have no idea what folder the javac.exe file
is, so I can't compile anything. Any suggestions?Open Explorer. Hit F3. Enter "javac.exe".
And
will the jre be automatically update when I use
java.exe command?No. Why should it?
Similar Messages
-
JAVA_HOME, JRE and JDK
Does anyone know what JAVA_HOME should be pointing to if only the JRE in installed? What it should be pointing to if the JDK is installed?
On Windows, I notice that c:\program files\JavaSoft gets created after install. For which install does that happen? For the JRE and JDK install? Should JAVA_HOME be pointing to that directory?
I couldn't find any java.sun documentation about the role of the JAVA_HOME env var. If anyone can piont me to some, that would be appreciated. :-)
Version: 1.3.1
Thanks in advance.Dear dinogg
Does anyone know what JAVA_HOME should be pointing to
if only the JRE in installed? What it should be
pointing to if the JDK is installed?
set JAVA_HOME=C:\jdk1.3.1\bin
On Windows, I notice that c:\program files\JavaSoft
gets created after install. For which install does
that happen? For the JRE and JDK install? Should
JAVA_HOME be pointing to that directory?
actually it is for jre but when u install jdk it also install jre if you notice there is a part setting up java runtime environment
I couldn't find any java.sun documentation about the
role of the JAVA_HOME env var. If anyone can piont me
to some, that would be appreciated. :-)
not sure where you can find it
Version: 1.3.1
Thanks in advance.
version 1.4.0 is out and it is nice
new stuff like scroll mouse, undecorated dialogs, xml transformer better focus management and etc
Thanks
Joey -
Installing JMS 3.6 without JRE and JDK
I'm looking for a way to install JMS only, without installing the new versions of JRE and JDK. The application I'm working on works with JRE 1.5.0_02 only, and there is no plan to change that in the near future, however we want to upgrade to JMS 3.6 to be able to use the new imqPingInterval.
Are you shure you have included the jre PATH (not CLASSPATH) in your PATH variable?
Assuming you're working in a Linux (or unix) environmet, check the PATH: it should contain /usr/local/jdk1.3.1_01/jre/bin.
I'm not sure this is really the answer, but there's no damage on trying it! :-)
bye
Michele -
can anybody give the differences between jre and jdk
[Click Me|http://www.google.com/search?hl=en&q=difference+between+jdk+and+jre&btnG=Search]
-
What is the difference between JVM and JRE and JDK?
Hi , I want to know what actually is JVM,JRE and JDK ? and the difference between them?
They should at least try. When it comes to
terminology, if they can find this site, they should
be able to find google, wikipedia, etc. It's
reasonable to expect them to try there first, and
then, if they still have questions, post here,
indicating what they looked at and how it fell short,
what they're still confused about, etc.Perhaps this is a valid point.
I believe physical JVM hardware has also been
manufactured. I wonder what we'd call that? A JPM
(Java Pysical Machine)?No. It is simply a hardware implementation of the abstract Java Virtual Machine.
.class files are executed by software (in fact,the
software that executes the .class files is calledthe
JRE and is short for the Java
Runtime Environment). The JavaRuntime
Environment is a native program (i.e. it is run by
hardware) which provides the ability to executejava
bytecodes (.class files)That's the JVM.No it's not. The JVM is an abstract architecture.
The JRE is the JVM plus native libraries plus core
API Java classes.The JRE is an implementation of the JVM along with some additional facilities. The JVM may be used to describe concrete implementations in industry vernacular, but this is not a technically accurate usage of the term per the specification and is therefore incorrect.
From the preface to the Java Virtual Machine Specification, Second Edition, viewable at http://java.sun.com/docs/books/jvms/second_edition/html/Preface.doc.html:
"The Java virtual machine is an abstract machine."
From Wikipedia (http://en.wikipedia.org/wiki/JVM):
"A Java Virtual Machine (JVM) is a set of computer software programs and data structures which implements a specific virtual machine model."
Perhaps this misconception is the source of the confusion. This is one reason why I answered deepakorsun rather than refer him to somewhere else: anywhere that would be reliable and/or completely accurate would be too dense to readily understand, and anywhere understood easily enough might not be completely accurate.
>
The Java Development Kit (JDK) just provides the
facilities necessary to write programs that willrun
on the Java Virtual Machine. It contains acompiler
It also contains tools such as jar and javap, the API
docs for the core API classes, the source code for
the API classes, probably a few other things, and
generally the JRE (though I'm not sure if that's
officially a required part of the JDK).I never said it didn't contain jar, javap, javac, java, jdb, jconsole, or any of the other programs or resources shipped with jdk. I simply stated affirmatively something it did contain. As I implied before, technical comprehensiveness is exactly what makes resources such as the JVM specification almost unusable for answering questions like this. That is why I omitted such details in my description. And since we're being all technical here, the API documentation does not ship with the Java Development Kit (at least not as of JDK 5.0), it is a separate download. It is the core API source files that ship in a .zip file with the JDK.
Don't get me wrong, I do understand that you have probably seen a lot more people come and go from these forums than I may ever understand and that you have helped more people than you can remember, and I don't mean to disrespect that. I understand that dealing with so many people over such a long period of time and hearing the same questions over and over again can probably start to wear on your patience, but I don't think the right approach is to treat anyone that tries to help them with utter contempt and sarcasm. That's not constructive or useful to anyone. I understand why you would be upset if somebody was purposely trying to be lazy, I probably would be too, but you have no real way of determining whether or not they are being lazy or just don't know something and don't know how to figure it out for themselves so they are asking a question. And if they are honestly just asking a question in good faith and looking up the answer on Wikipedia just did not occur to them (or they couldn't understand what it said), yet they somehow ended up on this site, they have done nothing wrong and there is no reason to get angry at them.
Oh come on, that wasn't nice. Not everybody isable
to answer their own questions. WTF are you talking about?!? Why waste the time to
type something out when they can click on a link and
find 1000 times more information than you can fit
into one post? Either way - they're
STILL going to have to read the
information themselves...
Ridiculous.So I suppose you've either read the Java Virtual Machine Specification, the Java Language Specification, and the Java Native Interface Specification in their entireties, or absolutely nothing about programming in Java. This is because, by your reasoning, these three books contain 1000 times more than anyone can fit on a tutorial, Wikipedia entry, mailing list, forum, blog, or anything else.
Criticizing somebody who isn't doing something the exact way you think it should be done is often quite idiotic and non-constructive. I believe this is this case here. Please post something more useful, meaningful, and/or polite next time. And just for future reference, yelling at a beginner does not help them learn faster or better. It just makes them hate you.
Oh come on, that wasn't nice. Not everybody isable
to answer their own questions. Java terminologycan
be confusing and difficult to understand in part
because of all the acronyms used and all the name
changes undergone by the various development kitsand
platforms.Point taken. You have much more patience than
I, but with lots of intensive therapy and proper
adjustment of my medications, I may get better.Thank you for this post. A display of wisdom and patience. You single handedly caused me to reconsider participating in a flame war. -
Why does the JDK come with a JRE and JDK?
I was wondering why when I download the JDK does it install a JRE and JDK. The JDK (I believe) includes all the JRE files as well as the compiler files. I can just as easily get rid of the JRE and as far as I know it wouldn't make a difference so why both?
I thought it was a 2-for-1 deal ;-)
Seriously, it doesn't make sense for me either. What
would make more sense
is for the JDK installation to install that separate
JRE, but to use that JRE instead of
installing a second one inside its folders.That would make much more sense, but I am guessing there is some intracacies that I'm not aware of or speed reason or something of the sort that would explain this. The first thing that comes to mind is knowing people might be copying the jre, someone might accidentally pull the jre out so they still wanted the sdk to work with the built in one. This is a pretty big stretch i know but there must be a reason somewhere. -
Installed jre and jdk and setup environment variable
installed jre and jdk and setup environment variable but still i am not able to rum program?
cannot find symbol class string
package system does not existif removing 1 jre will help your disk space problems
then you urgently need a bigger disk.
Btw i never notice Java installing 2 different JRE's
so i dont think it will harm remvong one, make sure
you dont delete one you are using :)I assume that you don't run MS os; that's the only one that installs 2 JRE's.
To OP: This has been discussed by Sun, but no changes have been announced. Maybe the relocation in version 1.5 of the private (aka developer) code to the Program Folder is a start of this change? -
J2SE download page: JRE and SDK differences
when we go to the J2SE download page: http://java.sun.com/j2se/1.4.1/download.html#docs, we will see JRE and SDK column. What are the differences??
My guess is:
JRE just download the java runtime environment, without downloading the java compiler. JRE means the JVM here?
SDK downloads everything, including the compiler and run time environment.when we go to the J2SE download page:
http://java.sun.com/j2se/1.4.1/download.html#docs, we
will see JRE and SDK column. What are the
differences??
My guess is:
JRE just download the java runtime environment,
without downloading the java compiler. JRE means the
JVM here?
SDK downloads everything, including the compiler and
run time environment.SDK is a development kit, where You have java compiler and all the rest +
jre. -
Download J2SE - what's JRE and SDK
Hi
when I want to download the J2S� 1.4.1, I can choose JRE and SDK.
What's what and what's the difference?
RBIf you only want to use Java programs, get the JRE.
If you want to develop Java programs, get the SDK. -
Hi,
Dumb question from a java programmer working for 7+ years, but do I need both the JDK and the JRE? Obviously, a JRE is included in the JDK.
The JDK is 150 MB and the JDK is also 150 MB relatively, if I recall correctly.
This is 300 MB of Java, do I really need both or can I remove the JRE since the JDK installation has its own JRE?The JDK installation installs its own JRE. You don't need a separate one installed. :)
-
Update 8.2.0 (65) sound and video problems. Adobe please help
I have just updated to the latest version of Premiere as indicated. I get occasional black flashes on video even when it's static. Also I'm using an iMac on a thunderbolt cable driving premiere off my laptop. I have opted to route sound via thunderbolt to the iMac. This is working perfectly for ALL applications other than Premiere where it insists on through the macbook speakers instead of the iMac sound system. Please help
Thank Peter. You have helped me sort the audio issues which has helped immensely.
I tried 'clean' on media cache but it's not resolved the issue. What I have noticed is if I change the renderer engine to software only then the black flickering is not present. However I feel I must be missing out on acceleration that my laptop is capable of and putting extra strain on the processor when the video hardware should be handling this. Any advice on how I can get this working without switching to software based rendering?
Thanks again
Paul -
Hi all, I upgraded whole system and xorg 1.6.1 got installed...now it wont let me configure it!!! which is so lame
I mean I am not sure if everything changed in the way we used to configure X - by modifying /etc/X11/xorg.conf
but now there is no such file! my ctrl+alt+bkspace wont work, I cant switch between virtual consoles...:o
The 'xorgconfig' command does not work for me anymore...I tried searching forums and done googling..but got no solutions so far
Any help guyz...or a pointer atleast...really bummed out for the fact that I cant switch consoles and that xorg.conf file gone missing..
Last edited by kapz (2009-05-09 19:36:09)kapz wrote:
@ rusty99 and joe90 --- I appreciate the help u guyz. But its nott worrkinggg! Help!
I did everything right from modifying xorg.conf(the dontzap and dontvt switch thing) to modifying the /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi file and adding code to .xinitrc file...but its just that I suspect my keyboard is not being detected properly! but its not just in X....I disabled X(from inittab) and did a console login, but the same thing-It wont switch terminals! I checked almost all the keystrokes and found them to be perfect except the alt key, the alt key works sometimes and it doesnt most of the times, like for eg. I checked in firefox by doing alt+left arrow(go back one page) which does not work! BUT alt+home key works in 2nd go(always!) ...rest ALL the keys work fine, including the Fn keys.....I also did a test in KCalc, I tried to change the shortcut key, so when it asked me for the replacement key I pressed alt(both) and It would not take it! I pressed ctrl key and it recognized it immediately! and I checked all the keys to be working fine there.....What can I do here for the alt keys?
My keyboard is of US layout and it has 111 keys, it has the 2 win-logo keys and a ms-menu key in addition to the normal keys.
Cant believe the problem is with the keyboard ALT keys----( And I checked that the alt key works fine with kubuntu)
Does the ALT key work at the console, and can you switch virtual consoles outside of X?
If not, do you have your KEYMAP set up correctly in /etc/rc.conf? (think for you should be KEYMAP="us")
Other than that have reached the end of my knowledge
Last edited by Joe90 (2009-04-20 08:11:40) -
Past versions of iTunes for Windows had the annoying behavior that it couldn't be closed. If I tried to exit or close the window iTunes would just open back up again. It had gone away, but apple just installed version 11.1.5.5 and it's back! The only way to exit is to open task manager and kill the process. Nothing else seems to work. Guess what Apple, I really don't want to have iTunes open all the time. I think the only answer is to stop using iTunes, since I don't have any Apple devices anyway, and go with a different music player on my PC.
Thanks.
Just in case, we'd better check on another old potential culprit (don't see it reported much lately, though) ... do you have any Logitech gaming software installed on the PC?
If so, perhaps try the suggestion from the following post:
Re: Everytime I close Itunes it loads back up -
How can I let JRE and JDK display English
I am using Linux. Since I change LC_CTYPE from en_US.UTF-8 to zh_CN.UTF-8, java program begin to display Chinese. I don't want my computer shows half English and half Chinese, I want to know how to let Java Program displays English meanwhile keep LC_CTYP=zh_CN,,,
Edited by: jptan on Oct 11, 2007 12:04 AMTry setting the default locale:
Locale.setDefault(new Locale("en", "US"));"Sets the default locale for this instance of the Java Virtual Machine. This does not affect the host locale." -
I am getting a stupid error about punctuation in one of my programs. I have searched it from the top to where the error is specified, but there seems to be no punctuation missing. I tried appeasing it by simply adding the semi-colons and figiring out why later, but to no avail. It is driving me crazy with the message: battleship.java:54: ' ; ' expected });. Listed is the code from lines 1-55.
import java.awt.*;
import java.awt.event.*;
import java.awt.Color;
import java.util.*;
import java.util.Random;
public class battleship extends reinforcements implements ActionListener {
private int[][] playerGuessValue = new int[10][10];
private int[][] playerFieldValue = new int[10][10];
protected static int innerRow = -1;
protected static int innerCol = -1;
private boolean hitLast = false;
private int[] lastHitX = new int[5];
private int[] lastHitY = new int[5];
private final static int MISS = 0;
private final static int PATROLBOAT = 1;
private final static int SUBMARINE = 2;
private final static int FRIGATE = 3;
private final static int BATTLESHIP = 4;
private final static int CARRIER = 5;
private final static int PSUNK = 6;
private final static int SSUNK = 7;
private final static int FSUNK = 8;
private final static int BSUNK = 9;
private final static int CSUNK = 10;
private int numOfPatrolBoatHitsP = 0;
private int numOfSubmarineHitsP = 0;
private int numOfFrigateHitsP = 0;
private int numOfBattleshipHitsP = 0;
private int numOfCarrierHitsP = 0;
private int numOfPatrolBoatHitsC = 0;
private int numOfSubmarineHitsC = 0;
private int numOfFrigateHitsC = 0;
private int numOfBattleshipHitsC = 0;
private int numOfCarrierHitsC = 0;
private int pScore = 0;
private int cScore = 0;
private Random random = new Random();
protected ActionListener listener = new ActionListener() {
public void actionPerformed(ActionEvent aei) { //aCTION eVENT iNTERNAL
for (int y = 0; y < 10; y++) {
for (int x = 0; x < 10; x++) {
playerField[x][y].removeActionListener(listener);
if (aei.getSource() == playerField[x][y]) {
innerRow = y;
innerCol = x;
playerField[x][y].setBackground(Color.green);
for (int ships = CARRIER; ships > 1; ships--) {
} // end of inner method
});};
Maybe you are looking for
-
Adobe Exchange panel doesn't appear in Dreamweaver CC
I've joined CC and I'm using Dreamweaver, I've also tried to download and install Adobe Exchange panel without success - I can see it in extension manager but the panel doesn't appear in Dreamweaver. I'm beginning to regret ever signing up for CC as
-
USB camera adapter won't connect to iPad
When I try to connect my KODAK camera to my iPad using the lightning to USB cable, it says that my camera requires too much power so I can't load my pictures. Is there anything I can do to get it to work?
-
I need to open a file with an associated programm.
I need to open a file with an associated programm. I'm looking for two solutions: 1. for Linux/Solaris/Unix/... 2. for Windows 95/98/Nt/2000 For Windows I have done this with command line Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandle
-
Can any one help me in fixing this error "resource unavailable "every time I try to download an audio file on ipad air
-
Solaris 10 - Help replacing Motherboard
I have been running Solaris 10 for a number of months on a pieced together PC. Recently the motherboard died (ECS Nforce6M-A V:2.0). Unfortunately, I was not the one to set all this up, and have been desperately looking for help to get this system up