Help me sort out the problems with Java 2 SDK SE

I install Java SDK 2 standard Eddition version 1.4 in my computer (Window NT4). When I test the installation by typing in "java -version", it displays the following message.
C:\JavaPractice>java -version
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
But, When I compile a simple programme, it doesn't work and displays the following message.
C:\JavaPractice>javac HelloDan.java
The name specified is not recognized as an
internal or external command, operable program or batch file.
Could anybody help me sort out the problem, Please?

i might guess that you have j2sdk1.4.0\jre\bin on your PATH, but not j2sdk1.4.0\bin ...
Larry

Similar Messages

  • Has Firefox sorted out the problem with accessing e-mails on tiscali

    When trying to access my e-mails with tiscali[ talktalk] I receive a message saying ' Undefined E-Mails in mail' and Icannot retrieve any e-mails fropm my inboxwww.talttalk.co.uk

    I have seen a few searches that indicate some people have had success by changing their wifi security settings.  Using none (not recommended) or using WPA2 with a strong pass phrase (longer than 8 characters) seems to work for everyone I've talked to.  I've not had this issue myself on any of my devices (2 iPhone 4, 2 iPhone 5, 2 iPad 2, all running iOS 6.1.3, and 2 iPod Touch 3rd Gen running iOS 5.1.1), but then again, my home wifi has had a strong pasphrase, and WPA2 for 7-8 years now.  I beleive that some people have had luck with performing a reset of network settings (but others have not, and claimed that it actually made things worse some how).  Some have had luck performing a device restore in iTunes, while others have claimed that did nothing but cause them to lose everything. 
    I know there is so much wifi congestion in my neighborhood that it is hard to find a channel that doesn't already have 2-3 routers using it.  It is possible that resetting your wifi router might help.  I know that when my iPhone wouldn't connect to my wireless network, it would usually clear up if I restarted the router.

  • I've recently switched routers on my iMac. The set-up appeared to go well, and my incoming mail is working, but my outgoing mail is not. I spent a long time sorting out the problem with my provider, who told me the problem is on the "Apple side".

    I've recently switched routers on my iMac. The set-up seemed to go well, and the incoming mail works. The outgoing mail is the issue - it sits in the outbox buffering and doesn't send. After several calls to my service provider they decided the issue was on the "Apple side" since my internet connection seemed to be working fine, and all input information was correct - ports selected, etc. Any ideas what to try next?

    Open Keychain in Utilites and delete all the "outgoing" entries (will probably be smtp.<your ISP name>.net). Then go into Mail Preferences>Accounts, clear out any passwords for the outgoing. Can't say exactly where this is or what this looks like in 10.7, since I'm running 10.6. Then enter new (EDIT: or can be the same old ones) passwords, or password. Allow Keychain to save those new ones.
    FWIW, here's what this looks like in mine.

  • I have a Mac mini Snow Leopard. In Numbers the grid lines are so faint that they are barely visible. Please could someone help me sort out this problem.

    I have a Mac mini Snow Leopard. In Numbers the grid lines are so faint that they are barely visible. Pleease could someone help me sort out this problem?

    The User Manual has this:
    Formatting Table Cell Borders
    You can change the line thickness and color of table cell borders. Or you can hide the border of any cell.
    To format table cell borders:
    1 Select the cell border segments you want to format.
    2 Use the controls in the format bar or in the Table inspector.
    Click to choose a stroke color.
    Click to choose a stroke style.
    Click to choose a line thickness.
    Stroke pop-up menu:  Lets you choose a stroke style. Choose None to hide borders.
    Line thickness:  Controls the thickness of the stroke.
    Color well:  Lets you choose a stroke color.
    When you click the color well in the format bar, a color matrix appears. Select a color by clicking it in the matrix, or click Show Colors to open the Colors window for additional color options.
    When you click the color well in the Table inspector, the Colors window opens.
    User Guide: http://manuals.info.apple.com/en_US/Numbers09_UserGuide.pdf

  • Can anyone help me sort out the audio on my k8n neo2

    Audio has never been one of my strong points so im stuck trying to get the onboard sound on my k8n neo2 board to work properly. The case i have has front connections for  headphones and another for microphone. Ive managed to get the front headphone jack to work i havnt got a mic so i cant try that. I have tried connecting my stereo speakers (part of my monitor) to the line out at rear (green jack plug) , i notice in the msi sound manager they refer to this connector as front speaker out. I had no sound at all until i came across aforesaid msi sound manager, the only way i can get sound is by going into this manager and selecting "speaker configuration" and either selecting 8 or 6 channel which i havnt got but at least i can hear a cd when its playing. The problem with this is that when i boot into windows there is no sound played. I have noticed in the mobo manual page E-2-20 under msi reminds you.. If you dont want to connect to the front audio header (JAUD1), pins 5&6, 9&10 have to be jumpered in order to have signal output directed to rear audio audio ports. Otherwise the line-out connector on back panel will not function. Wonder if this has something to do with it. I encclose an image showing the relevant mobo page with connection instructions and the wiring of front panel jacks from my case instructions.
     on the JAUD1 pins 6 and 10 audio signal returns for right and left channel  but my case wiring only had a single return in the form of the shield braid so i split it in two and connected to pins 6&10 to see if this would cure the no sound problem, it didnt. Just hoping the image is big enough for people to read. Hope someone can help with this.

    Well lets see if I can help.
    Connect like this:
    Red---->Aud_fpout_L
    Jump with Red---->Aud_ret_L
    White---->Aud_fpout_R
    Jump with white---->Aud_ret_R
    I think is... Spiral---->Aud_gnd this you have to share with the mic that is also Spiral
    As for the mic .... MIC power---->Aud_mic_bias
    MIC-IN---->AUD_mic
    And I think that's it....
    Be well....

  • Help me to sort out the problem in this Simple Client - Server problem

    Hi all,
    I have just started Network programming in java . I tried to write simple Client and Server program which follows
    MyServer :
    package connection;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.net.ServerSocket;
    import java.net.Socket;
    public class MyServer {
          * @param args
         public static void main(String[] args) {
              String ss ="";
              try {
                   ServerSocket sockServer = new ServerSocket(6000);
                   Socket clientLink = sockServer.accept();
                   System.out.println("Connection Established");
                   InputStreamReader isr = new InputStreamReader(clientLink.getInputStream());
                   BufferedReader bufReader = new BufferedReader(isr);
                   System.out.println("buf "+bufReader.readLine());
                   try {
                        while ((ss=bufReader.readLine())!=null) {
                             ss+=ss;
                        System.out.println("client message "+ss);
                   } catch (IOException e) {
                        System.out.println("while reading");
                        e.printStackTrace();
              } catch (IOException e) {
                   System.out.println("Can't able to connect");
                   e.printStackTrace();
    }MyClient:
    package connection;
    import java.io.IOException;
    import java.io.OutputStreamWriter;
    import java.io.PrintWriter;
    import java.net.Socket;
    public class MyClient {
          * @param args
         public static void main(String[] args) {
              try {
                   Socket client = new Socket("127.0.0.1",6000);
                   OutputStreamWriter osw = new OutputStreamWriter(client.getOutputStream());
                   PrintWriter pw = new PrintWriter(osw);
                   pw.write("hello");
              } catch (IOException e) {
                   System.out.println("Failed to connect");
                   e.printStackTrace();
    }I got this error message when I start my client program .
    Error message :
    Connection Established
    java.net.SocketException: Connection reset
         at java.net.SocketInputStream.read(Unknown Source)
         at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
         at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
         at sun.nio.cs.StreamDecoder.read(Unknown Source)
         at java.io.InputStreamReader.read(Unknown Source)
    Can't able to connect
         at java.io.BufferedReader.fill(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at java.io.BufferedReader.readLine(Unknown Source)
         at connection.MyServer.main(MyServer.java:27)I think this is very simple one but can't able to find this even after many times . please help me to sort out this to get start my network programming .
    Thanks in advance.

                   System.out.println("buf "+bufReader.readLine());Here you are reading a line from the client and printing it.
                   try {
                        while ((ss=bufReader.readLine())!=null) {
                             ss+=ss;
                        }Here you are reading more lines from the client and adding it to itself then throwing it away next time around the loop.
                        System.out.println("client message "+ss);... so this can't print anything except 'null'.
                   pw.write("hello");Here you are printing one line to the server. So the server won't ever do anything in the readLine() loop above. Then you are exiting the client without closing the socket or its output stream so the server gets a 'connection reset'.

  • How to sort out your problems with the os 4 upgrade.

    I'm in the UK, and I am an Orange customer. I have just been in contact with an amazing guy called Lee, who has sorted my problem for me. His advice.......
    go into
    Settings, general, scroll down to bottom of the screen to Reset, and tap on it.
    Go to 3rd option, Reset Network Settings and tap on it, a red box will appear, tap to accept. Screen will close and Apple logo will appear, LEAVE to power up on its own, and re-enter your wi-fi connection password information.
    If this fails to cure your problem, Connect your iphone to a different computer,
    When your iphone shows up in itunes, click on it and do a RESTORE WITHOUT BACKUP, leave until your phone has restored and then plug into your own computer. You can now back up from your own computer information
    Hope this solves our problems

    Apple does not provide support here.
    This is a users forum.
    Everyone here is a user like yourself.
    If you would like support from Apple you can contact them by phone or online.

  • Help me find out the problem of this kernal panic

    I was unmounting a FTP account via finder and I was useing macfuse to access it.
    panic(cpu 0 caller 0x2E1D64AC): MacFUSE: vnode reclaimed with valid fufh (type=0, vtype=1)
    Latest stack backtrace for cpu 0:
    Backtrace:
    0x000952D8 0x000957F0 0x00026898 0x2E1D64AC 0x000FDBA4 0x000E6048 0x000E6358 0x000E87B4
    0x000E5D60 0x000EC2D0 0x000EC100 0x002AB7F8 0x000ABB30 0x9004B5FC
    Kernel loadable modules in backtrace (with dependencies):
    com.google.filesystems.fusefs(0.2.5)@0x2e1ce000
    Proceeding back via exception chain:
    Exception state (sv=0x2DB28000)
    PC=0x900647CC; MSR=0x0000D030; DAR=0xA000C56C; DSISR=0x40000000; LR=0x00002D94; R1=0xBFFFF910; XCP=0x00000030 (0xC00 - System call)
    Kernel version:
    Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPCModel: PowerMac4,4, BootROM 4.6.4f1, 1 processors, PowerPC G4 (3.3), 1 GHz, 1 GB
    Graphics: ATI Radeon 7500, ATY,RV200, AGP, 32 MB
    Memory Module: DIMM0/J1600, 512 MB, SDRAM, PC133U-333
    Memory Module: DIMM1/J1601, 512 MB, SDRAM, PC133U-344
    AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
    Modem: MicroDash, UCJ, V.92, 1.0F, APPLE VERSION 2.6.6
    Network Service: AirPort, AirPort, en1
    Parallel ATA Device: Maxtor 2F040L0, 38.29 GB
    Parallel ATA Device: TOSHIBA ODD-DVD SD-R1412
    USB Device: USB Trackball, Logitech, Up to 1.5 Mb/sec, 500 mA
    USB Device: Hub, Up to 12 Mb/sec, 500 mA
    USB Device: USB Hub, Lexmark, Up to 12 Mb/sec, 500 mA
    USB Device: Lexmark X1100 Series, Lexmark, Up to 12 Mb/sec, 500 mA
    USB Device: X1100 Series, Lexmark, Up to 12 Mb/sec, 500 mA
    USB Device: Natural® Ergonomic Keyboard 4000, Microsoft, Up to 1.5 Mb/sec, 500 mA
    FireWire Device: OXFORD IDE Device, Oxford Semiconductor Ltd., Up to 400 Mb/sec
    FireWire Device: > LaCie d2 DVD-RW Firewire, LaCie Group SA, Up to 400 Mb/sec

    KPs are usually caused by hardware problems. When trying to troubleshoot problems, disconnect all external devices except your monitor, kbd & mouse. Do you experience the same problems?
    May be a solution on one of these links.
    Troubleshooting
    The X Lab (Troubleshooting & Maintenance of OS X)
    OS X Routine Maintenance & Generic Troubleshooting
    Prevent Mac Disasters
    Kernel Panic
    Mac OS X Kernel Panic FAQ
    Mac OS X Kernel Panic FAQ
    Resolving Kernel Panics
    12-Step Program to Isolate Freezes and/or Kernel Panics
     Cheers, Tom

  • When is Apple going to sort out the problem while trying to listen to music on the iPhone 4s

    Hi,
    Everytime I'm trying to listen to my music on the iPhone 4s these are the list of problems I'm getting
    1. It will show the play symbol in the top right but the time on the track is not moving and nothing is playing.
    2. I will be listening to one song and it will show I'm listing to a different song.
    3. At some songs it won't let me go back to the song before.
    4. Some song will not play anymore it will only play the song after but show a different picture.
    Is anyone else having any or all the above problems.?

    I have never heard of these issues.
    Have you tried basics from the manual?
    Restart, reset, restore?

  • Problems with java regular expressions

    Hi everybody,
    Could someone please help me sort out an issue with Java regular expressions? I have been using regular expressions in Python for years and I cannot figure out how to do what I am trying to do in Java.
    For example, I have this code in java:
    import java.util.regex.*;
    String text = "abc";
              Pattern p = Pattern.compile("(a)b(c)");
              Matcher m = p.matcher(text);
    if (m.matches())
                   int count = m.groupCount();
                   System.out.println("Groups found " + String.valueOf(count) );
                   for (int i = 0; i < count; i++)
                        System.out.println("group " + String.valueOf(i) + " " + m.group(i));
    My expectation is that group 0 would capture "abc", group 1 - "a" and group 2 - "c". Yet, I I get this:
    Groups found 2
    group 0 abc
    group 1 a
    I have tried other patterns and input text but the issue remains the same: no matter what, I cannot capture any paranthesized expression found in the pattern except for the first one. I tried the same example with Jakarta Regexp 1.5 and that works without any problems, I get what I expect.
    I am using Java 1.5.0 on Mac OS X 10.4.
    Thank to all who can help.

    paulcw wrote:
    If the group count is X, then there are X plus one groups to go through: 0 for the whole match, then 1 through X for the individual groups.It does seem confusing that the designers chose to exclude the zero-group from group count, but the documentation is clear.
    Matcher.groupCount():
    Group zero denotes the entire pattern by convention. It is not included in this count.

  • My iphone is locked i open the find my iphone on and reset the iphone and i forgot the email id but i remember the password plz help me sot out this problem

    i am using i4 (IMEI NO is 013265005169887 my iphone is locked i open the find my iphone on and reset the iphone and i forgot the email id but i remember the password plz help me sort out this problem
    i forgot icloud id and password but i remember the apple id and password plzzzzz help me( my contact  number is +918477889484 from India)

    Hi there sumit4,
    You may find the information in the article below helpful.
    Apple ID: How to find your Apple ID
    http://support.apple.com/kb/HT5625
    -Griff W.

  • How do I sort out the troubles on the console?

    Gmail - [#SAM-621717]: Trial of home intego          15/03/13 10:59 PM
    [#SAM-621717]: Trial of home intego
    2 messages
    Intego Support <[email protected]> Reply-To: [email protected] To: mlkessell@**** Cc: monicakessell02@****
    Hello Monica,
    Fri, Mar 15, 2013 at 3:52 AM
    If the accounts are on the same computer, you should not have to use a different e-mail address. If your son's account is not an Administrator account, this may be the issue. Are you able to launch VirusBarrier from your son's account from Applications>Intego?
    Kind Regards,
    John Intego Support Team
    ____________________________________________________________________ Intego Technical Support          http://www.intego.com/support
    User manuals are available from the 'Help' menu in all Intego software. Keep up-to-date with the latest Mac security information.
    Visit the Intego Mac Security Blog: http://www.intego.com/mac-security-blog/ Follow us on Twitter: @IntegoSecurity
    Facebook: http://www.fa****.com/Intego ____________________________________________________________________
    Monica Kessell <monicakessell02@****>          Fri, Mar 15, 2013 at 10:55 PM To: [email protected]
    Yes I am able to do that and the issue that we were having seems to have settled down after the computer crashed and I restarted it by resetting PRAM and repairing the disk. Can you help me understand what to do about the issues that the console in utilities is logging frequently? both before and since the crash yesterday; (see below)
    First issue; An instance 0x10062c110 of class CBX5KeyboardObservationController was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attacked to some other object. set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info: .......
    (lots of stuff I don't understand)
    Monica Kessell <monicakessell02@****>
    Gmail - [#SAM-621717]: Trial of home intego          15/03/13 10:59 PM
    Second Issue; barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_controller barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_injector_32 barrier.daemon[51] launcht l: Error unloading:com.intego.virusbarrier.bm_injector_64 com.apple.launchd[1] (com.apple.xprotectupdater[25]Exited with exit code:252 e.WindowServer[95]Fri Mar 15 21:54;39 monica-kessellsimac. local WindowSever[95] <Error>: kCGErrorFailure: set a breakpoint @ CGErrorBreakpoint() to catcherrors as they are logged. d.peruser .501[146] (com.apple.ReportCrash) Falling back to default Mach exception handler. Could not find: com.apple ReportCrash.Self d.peruser .501[146]          (com.apple.mrt.uiagent[178])Exited with exit code 255 tions.enabled[186] launchct l : CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/ com.apple.launchd.peruser.501/overides.plist) failed:-10 d.peruser.501[146] (com.apple.Kerberos.renew.plist[179]) Exited with exit code: 1 tions.enabled[186] launchct l : CFURLWriteDataAndPropertiesToResource(/var/db/launchd.db/ com.apple.launchd.peruser.501/overides.plist) failed:-10 es.integomenu[185] objc[185]:ClassIFCrossCompatibleUnicodeString is implemented in both /Library/Intego/Family Protector.bundle/Contents/MacOS/Family Protector Daemon.app/Contents/ Frameworks/Family Protector Foundation.framework/Versions/A/Family ProtectorFoundation and /Library/Intego/ personalbackupd.bundle/Contents/MacOS/Personal BackupDaemon.app/Contents/ Frameworkds/PersonalBackup.framework/Versions/A/PersonalBackup. One of the two will be used. Which one is undefined
    and there are more messages like this regarding the Class IFTimeIntervalManager and the Class IFUUID and the Class IFMessanger and the Class IFMessangerClient and the class IFMessangerLion and the class IFMDelayed Messange and the Class IFSnowReply and the Class IFMessagerSnow and the Class IFMessanger and the Class IFMLionReply
    and on and on the messages go
    Can you shed some light on the subject and help me sort out the computer?
    regards
    Monica Kessell
    <Emails Edited By Host>

    Here's my latest list of complaints to Intego regarding Family Protector. I thought it should be shared:
    I have been using Family Barrier for a couple of years now, and may I say, it has so many problems that as soon as I can find a better alternative, I'm gone. Until that day, however, I expect some solutions.
    Issue #1: The application is 100% unreliable. The chances of it doing its job on any given day are seriously 50/50. Or worse. This alone renders the program useless. But that's not all.
    Issue #2: It's unbelievably easy to override. Are you seriously unaware that all one has to do is change the date on the computer to one before Family Barrier was installed, it will 100% not do its job. Awesome. This is straight out of Hacking 101, and any program should be able to defend against it. Otherwise, any demo I try download can be made to work forever. While some are, most are not. Get it together, People.
    Of course, making time changes impossible can be done from my end by the keeping admin password unknown to the protected user, but what if the protected user needs admin access? That happens to be my case. Nonetheless, I was willing to block admin access to fix the problem until you could tell me that YOU'VE done your job and taken care of it (you will tell me that, right?). But then I was left with Issue #1 (remember? the one where it only works 50% of the time at best?), so what's the point?
    I thought I'd try reinstalling it again, just for fun. I've done this before and it's worked TEMPORARILY (tell me the truth, would you pay for an application that constantly had to be re-installed so that it would work for a while? the truth, now). Why am I not surprised that now even that simple process is f'ing up. I punch in my name and serial and it won't accept it. Is there no end to the awesomeness? Somehow, I think that there is not.
    It's especially frustrating that there is no support number for me to call, forcing me to have to go through THIS process, which makes your job so much easier and is so much less helpful for your customers) just to get any answers... eventually.

  • Problem with java and pogo games

    i use mozilla and now with the problems with java and hackers cannot play my pogo games,what can i do? i disabled my java i tried java 6 doesnt work or is not safe,what is a safe way to play games on pogo that use java?

    Oracle has released a Java 7 Update 11 to address security vulnerabilities and you should update to that version.
    *https://support.mozilla.org/kb/how-to-use-java-if-its-been-blocked
    See also:
    *http://kb.mozillazine.org/Java#Windows_installation_issues
    You can find the latest Java version on the Oracle website.
    See Java Platform > Java SE 7U11 and Java 6U38 (Download JRE)
    *http://www.oracle.com/technetwork/java/javase/downloads/index.html

  • HT202159 I am unable to download and always asking password after entering the password  also asking same question please help  me to sort out  this problem.

    I am unable to download and always asking the password it's ok for the once and it's asking more and no results only repeating the same so I am unable to download please help me to sort out this problem and my request please sort out from your side  or let me guide .

    Thanks Eric for responding.
    I checked and it does not appear in the Applications folder.
    I tried yesterday on an ethernet connection with a download speed of 2 Mbps but, unfortunately the connection died(It happened from the ISP end, which is out of my control) in between after which there was no trace of the download that happened for so long(till the internet connection death). 
    One more serious query which I am unable to understand. If the internet connection, dies in the midst of the download is in progress why is it so that the state does not persist and one has to restart the entire process again. Is there no solution for this?
    I tried so many times and its the same case after some amount of download it vanishes. So many unsuccessful attempts. I am ****** off now. Is it not possible to see Mavericks? Why does different machines of Apple behave differently? Somewhere it goes smoothly and somewhere like my mine. Why did not Apple release a non apple store version? Is this not a bad sign of letting the users struggle when something is being offered for free?
    The reason I asked as whether we can download the .app of Mavericks is that, there are so many applications that I have downloaded web and have installed. All that works fine. Can't we do the same here? You download a copy of Mavericks installer application and upload it for me in Google drive or like online storage places which can be downloaded and used by me? Help me understand.
    Thanks again.

  • NI have a Braun Photo Technik slidescan 3600 and it canot make it work with Lion: Is there anybody who sorted out the same problem? thanks

    I have a Braun Photo Technik slidescan 3600 and I cannot make it work with Lion. Is there anybody who sorted out the same problem? thanks

    We sure do have a problem - this is strictly a user to user assistance forum with users helping other users use the iPhoto program as it is - no one here has any ability to change or influnence the desigh or implementation of iPhoto
    try the iPhoto menu ==> provide iPhoto feedback
    LN

Maybe you are looking for