posted ٣/٢/٢٠١١ ٦:٠٤:١١ م purple mooseage
Hi,
I have a java application that is started from an executable. When I try to run that, This error pops up "Title: Java Virtual Machine Launcher" saying "Could not find the main class. Program will exit."
This error is coming when the application is tried to run on some machines (that's what I think), and not for all the users. Following are the steps that have been suggested, but the error still persists:
1.Uninstall any older/ multiple versions of java from the Windows machine and keep only the latest one.
2.Point the environment variable "CLASSPATH" to the directory where "java" is present, and also to the main class of my application.
3.Try installing the tool on a different machine (in the same network domain).
I have seen many posts in this and other forums on this topic, and the solutions suggested above have been taken from them, but the solution for my problem here is not there. It may be a trivial mistake or something else, but please help me out, as I am only a beginner in trying to solve such problems.
Also, if you can please tell me how do I get this error, on my machine, that would be great? Something to understand the steps causing the problem. I don't get the error pop-up on my system.
Thank you so very much in advan
النتائج (
العربية) 3:
[نسخ]نسخ!
I have seen many posts in this and other forums on this topic, and the solutions suggested above have been taken from them, but the solution for my problem here is not there. It may be a trivial mistake or something else, but please help me out, as I am only a beginner in trying to solve such problems
Also, if you can please tell me how do I get this error, on my machine, that would be great!
٣ موقع / ٢ / ٢٠١١ ٦: ٠٤: ١١ م الأرجواني mooseage
مرحبا، لدي تطبيق جافا التي هي بدأت من ملف تنفيذي.عندما أحاول تشغيل هذا وهذا خطأ للملوثات العضوية الثابتة "أغنية آلة جافا الافتراضية قاذفة" قائلا "لا يمكن أن تجد الطبقة الرئيسية.سيتم إنهاء البرنامج. "
هذا الخطأ يأتي عندما يكون التطبيق حاول تعمل على بعض الأجهزة (هذا ما أعتقد) وليس لجميع المستخدمين.Something to understand the steps causing the problem. I don 't get the error pop-up on my system.
Thank you so very much in advanلقد رأيت العديد من المشاركات في هذا المنتدى وغيره من المنتديات حول هذا الموضوع، و الحلول المقترحة أعلاه التي اتخذت منها لكن الحل مشكلتي هنا ليست هناك.وقد يكون خطأ تافه أو أي شيء آخر، ولكن الرجاء مساعدتي، وأنا مجرد مبتدئ في محاولة حل هذه المشاكل.
أيضا إذا يمكنك من فضلك قل لي كيف يمكنني الحصول على هذا الخطأ، في الجهاز الخاص بي، سيكون ذلك عظيماً؟فيما يلي الخطوات التي اقترحت، ولكن الخطأ لا تزال قائمة:
1.uninstall أي كبار السن / إصدارات متعددة من جافا من جهاز ويندوز و تبقي فقط آخر واحد
2.point classpath متغير البيئة "" إلى الدليل أين "جافا" هو الحاضر، كما أن الطبقة الرئيسية من طلبي
3.try تثبيت الأداة على جهاز آخر في نفس الشبكة دومين)
يجري ترجمتها، يرجى الانتظار ..
