Java install help....... :(

Sun_Boy

Well-known member
  • Jul 6, 2009
    13,621
    1,011
    113
    ගම්පහ
    1z18ai0.jpg


    Mama JDK install kala Win 7walata...path ekath set kala..bt mehema ekak enawa...moko karanne..??danna kenek kiyanna JDK instal karanne kohomada kiyala...:(:(
    JDK download karanna link ekakuth denna...:):)
     
    Last edited:

    Hayao

    Well-known member
  • Sep 11, 2009
    37,530
    4,726
    113
    ♪ p1ɹoʍ uʍo ʎɯ uı ♥♫
    1. Start Notepad (Start > Program Files > Accessories > Notepad)
    2. Open c:\autoexec.bat (File > Open, change to the c: folder and look for and open autoexec.bat. If you don't find one, create one.)
    3. You might find one or more than one line that starts with "set path". Look for one.
    4. If you do not find any lines starting with "set path", then add this new line to the end of the autoexec.bat file: set path=c:\j2sdk1.4.1_01\bin
      (This assumes that you really do have such a folder after you installed Java SDK 1.4. Please verify as needed.)
    5. If you already have one or more lines starting with "set path", go to the last one. If it does not currently include "c:\j2sdk1.4.1_01\bin", then add a semicolon to the righthand end of the "set path" expression and then add this: c:\j2sdk1.4.1_01\bin
    6. Save the changes to autoexec.bat.
    7. You might find one or more than on line that starts with "set classpath". Look for one.
    8. If you do not find any lines starting with "set classpath", exit Notepad and any other programs and restart your computer. Try the java and javac commands again to see if they work now. You can ignore the remaining instructions below.
    9. If you already have one or more lines starting with "set classpath", go to the last one. Add this to the righthand end of the "set classpath" expression: ;.
    10. Save the changes to autoexec.bat, exit Notepad and any other programs and restart your computer. Try the java and javac commands again.
    http://www.phoons.com/john/classes/aboutpath.html
     

    dil

    Member
    Oct 4, 2006
    3,733
    47
    0
    inside me
    set the path to Environment variables.
    Right click on My Computer > Properties > Advanced > Environment Variables > New
    variable name = path
    variable value = C:\Program Files\Java\jdk1.5.0_06\bin
     

    sajith.xp.pk

    Well-known member
  • Nov 12, 2008
    5,958
    3,967
    113
    Sri Lanka
    set the path to Environment variables.
    Right click on My Computer > Properties > Advanced > Environment Variables > New
    variable name = path
    variable value = C:\Program Files\Java\jdk1.5.0_06\bin

    variable value kiyana eke denata thiyena path eka makanne nethuwa eka issarahin ; <<<<< symble eka daala eeta passe java path eka paste karanna. ethakota goda.. like...

    C:\windows\ ; C:\Program Files\Java\jdk1.5.0_06\bin
     

    Core

    Member
    Jan 23, 2010
    3,120
    195
    0
    Milky Way/Local Cluster/Local Sol/Earth
    Ow yakoo....kiyapallakoo...thama ba ne...Win 7 walata awulada danne na neda ban....:(:(



    Ok here u go now Start->Right Click on the My Computer->Advance System Settings->in System Properties ->Advance tab->Environment Variables
    ->in System Variables locate ; Path Variable and type value as

    C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\DivX Shared\;D:\Program Files (x86)\Java\jdk1.6.0\bin;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\

    like that ,this is mine (don't type mine it's upto your pc just notice how I typed that)

    and u can see my java folder located as
    D:\Program Files (x86)\Java\jdk1.6.0\bin
    and your maybe different
    (x86) because I am on Windows 7 64bit Platform

    before and after type ; ;
    so it goes like

    Path;Path2;Path3


    Finally Ok Ok Ok and restart the PC (and don't forget to install the JDK Latest version)


    if u need any help then tell me
     

    Sun_Boy

    Well-known member
  • Jul 6, 2009
    13,621
    1,011
    113
    ගම්පහ
    Ok here u go now Start->Right Click on the My Computer->Advance System Settings->in System Properties ->Advance tab->Environment Variables
    ->in System Variables locate ; Path Variable and type value as

    C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\DivX Shared\;D:\Program Files (x86)\Java\jdk1.6.0\bin;C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\

    like that ,this is mine (don't type mine it's upto your pc just notice how I typed that)

    and u can see my java folder located as
    D:\Program Files (x86)\Java\jdk1.6.0\bin
    and your maybe different
    (x86) because I am on Windows 7 64bit Platform

    before and after type ; ;
    so it goes like

    Path;Path2;Path3

    Finally Ok Ok Ok and restart the PC (and don't forget to install the JDK Latest version)


    if u need any help then tell me

    Mehema thama kale...bt wada na ne...:(:(
    Note pad eken type karala .java deela save kalata save wenne na....:(:(
     

    Sun_Boy

    Well-known member
  • Jul 6, 2009
    13,621
    1,011
    113
    ගම්පහ
    Really.? strange but I am on Windows 7 64bit too and mine is works well.!
    make sure locate correctly on your Java/bin Folder (the patch might be correct)

    Mmmmm..wht's ur JDK version... my 1 is latest 1 download from sunjava website..bt nt works..can u send me ur download link or other link to me for download JDK...:):)