الفريق العربي للبرمجةأرشيف المنتديات · 2000 – 2023
نسخة أرشيفية للقراءة فقط — التسجيل والمشاركة مغلقان، والمحتوى محفوظ كما كان.

ما هي طريقة تثبيت Path

مغلق
بدأه ibn_als3odiah في 16 يناير 2005 · 8 رد · 853 مشاهدة · في JavaSE
مشاركة: واتساب X فيسبوك تيليجرام
#1 صاحب الموضوع

السلام عليكم ورحمة الله وبركاته

اخواني الكرام لدي مشكلة بسيطة جدا

وهي

أنه من المعروف لدى الجميع انه اذا اردت تنفيذ برنامج الجافا عن طريق DOS

يجب تحديد الباث ليتم التعراف على اوامر JAVA, Javac

كالتالي

set path=c:\j2sdk1.4.0\bin;%path;

ولكن اذا أعدت تشغيل الجهاز افقد المسار الذي حددته وبذلك يجب علي اعادة ضبطه من جديد

السؤال:

هل من طريقة لتثبيت الباث

ملاحظة: تم البحث عن مواضيع مماثلة ولم أجد

وشكرا لكم وعلى تعاونكم

أخوكم المحب

ibn_als3odiah

تم تعديل هذه المشاركة بواسطة ibn_als3odiah في 16 يناير 2005 في 15:41

3424.gif
#2

اذا كان ويندوزك اكس بي..

تستطيع الذهاب الى خصائص جهاز الكمبيوتر و من ثم خيارات متقدمة او هيك شئ

و من ثم تجد من الاسل زران اختار متحولات النظام او هكذا شئ سوف تجد هناك كافة متحولات النظام الثابتة اضيف الذي تريده هناك

Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why

#3
 

To set the PATH permanently, add the full path of the j2sdk1.4.1\bin directory to the PATH variable. Typically this full path looks something like C:\j2sdk1.4.1\bin. Set the PATH as follows, depending on the version of Windows you are using: 

Windows NT, Windows 2000, and Windows XP To set the PATH permanently: 

Choose Start, Settings, Control Panel, and double-click System. On Windows NT, select the Environment tab; on Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is: 


C:\j2sdk1.4.1\bin 
Capitalization doesn't matter. Click "Set", "OK" or "Apply". 

The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one <b>bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.1. 



The new path takes effect in each new Command Prompt window you open after setting the PATH variable. 

Windows 98, Windows 95- To set the PATH permanently, open the 


AUTOEXEC.BAT file and add or change the PATH statement as follows: 

Start the system editor. Choose "Start", "Run" and enter sysedit, then click OK. The system editor starts up with several windows showing. Go to the window that is displaying AUTOEXEC.BAT 


Look for the PATH statement. (If you don't have one, add one.) If you're not sure where to add the path, add it to the right end of the PATH. For example, in the following PATH statement, we have added the bin directory at the right end: 


PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\J2SDK1.4.1\BIN 
Capitalization doesn't matter. The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows searches for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.1. 



To make the path take effect in the current Command Prompt window, execute the following: 


C:> c:\autoexec.bat 
To find out the current value of your PATH, to see if it took effect, at the command prompt, type: 



C:> path 


Windows ME - To set the PATH permanently:


From the start menu, choose Programs --> Accessories --> System Tools --> System Information. This brings up a window titled "Microsoft Help and Support". From here, choose Tools --> System Configuration Utility. Click the Environment tab, select PATH, and click Edit. Now add the SDK to your path as described in step B above. After you've added the location of the SDK to your PATH, save the changes and reboot your machine when prompted.

لا إله إلا الله العظيم الحليم,لا إله إلا الله رب العرش العظيم,لا إله إلا الله رب السموات ورب الأرض ورب العرش الكريم.

#4

هناك طريقة بسيطة لجميع إصدارات الويندوز وهي أن تضيف الأمر

path=%path%;c:\jdk\bin

إلى الملف autoexec.bat والذي يتم تشغيله في كل مرة يعمل الويندوز وبهذا كون قد حللت المشكلة

الملف autoexec.bat تجده في c قم بفحه بالنوت باد أو من الدوس قم بكتابة

notepad autoexec.bat

سيفح معك فاكتب فيه الأمر السبق دون أن تمحو ما به :rolleyes: :rolleyes:

#5

السلام عليكم ورحمة الله وبركاته

وهذه طريقة بدائية

بإمكانك أن تعمل ملف باتش تحت أي مسمى "filename.bat" وبعدها تستدعيه من الدوس كل مرة

path c:\j2sdk1.4.1\bin

وتحفظه تحت مسمى "1.bat" وعلى الدوس تكتب 1 وسينفذها

اللهم صل وسلم وزد وبارك على سيدنا محمد وعلى آله وصحبه وسلم

تعلم كيف تقرأ من ملف باستخدام لغة السي

Routers Programming-الدرس الأول

#6

الله يجزاكم خير

الان عندي تقريبا أربعة حلول

سأحااول فيه

أستاذنا رامي

والله ما فهمت كلامك

رحت للقوائم بس ما حصلت شيء ؟؟!!؟؟

3424.gif
#7

خلاص شو بدك بكلامي ... ماشاء الله الشباب كفو ووفو و يبدو انهم متخصصين في علوم الـ PATH .....دوختوني من وين جبتو كل الحكي على شغلة بسيطة كل هذا؟؟؟؟؟

Theory is when you know something, but it doesn't work. Practice is when something works, but you don't know why. Programmers combine theory and practice: Nothing works and they don't know why

#8

لا تغضب أخي رامي البرمجة "وجهات نظر"

#9

الله يعطيك ألف عافية

3424.gif

هذا الموضوع مغلق.

مواضيع مشابهة