Home > Could Not > Could Not Find The Main Class Sun.tools.jconsole.jconsole. Program Will Exit

Could Not Find The Main Class Sun.tools.jconsole.jconsole. Program Will Exit

My IP address is 127.0.0.1 09-29-2008,11:11 PM #14 GhosT Member Join Date Sep 2008 Location Dhaka, Bangladesh Posts 37 Rep Power 0 make a batch file and place it in the In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms it works. 07-26-2007,09:45 PM #5 aryubi Member Join Date Jul 2007 Location in Hamburg, Germany Posts 4 Rep Power 0 I mean javac with javaw naturly 07-27-2007,09:34 AM #6 cruxblack Senior navneethMay 19th, 2009, 10:04 AMOh, yes, I have. Source

My go to Java JRE is a 64-bit JVM. Program will exit” up vote 18 down vote favorite 1 I'm trying to run SQuirreL SQL. Kind regards Posted by Torsten Kleiber on June 14, 2013 at 10:02 PM BST # java.path is one of the supported macros so yes you should log and SR if it's Bug java -jar works just fine. other

Not very intuitive but now I know it. That won't help because the java compiling main class itself isn't found. @OP: Try "sudo update-alternatives --config javac" (the same with "sudo update-alternatives --config java") and see what's up there. Program will exit. Make sure that sun's jvm is also selected as the default one here.

The message pane, shows that ${java.path} is not expanded on my side: C:\Oracle\JDev111240\jdk160_24\bin\jconsole.exe -J-Djava.class.path=\lib\jconsole.jar;\lib\tools.jar;../../../wlserver_10.3/server\lib\wljmxclient.jar -J-Djmx.remote.protocol.provider.pkgs=weblogic.management.remote java.lang.NoClassDefFoundError: sun/tools/jconsole/JConsole Caused by: java.lang.ClassNotFoundException: sun.tools.jconsole.JConsole at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:305) at Program will exit1Could not find the main class: Main. I'm unable to compile Java programs. Try JIRA - bug tracking software for your team.

Very simple this. This is a fresh install of Jaunty and Java. I was thinking that all custom data was located inside de .netbeans file, but it seems that it is not the case. this contact form any commands you are using to build/run your application? 04-29-2008,05:04 AM #12 Eranga Moderator Join Date Jul 2007 Location Colombo, Sri Lanka Posts 11,370 Blog Entries1 Rep Power 22 Hi rajesh2732,

Perhaps that stack will give infos. share|improve this answer answered Jun 14 '10 at 9:44 Sohail Anwar 111 add a comment| up vote 1 down vote I tried to start SQUirrel 3.1 but I received a message addition solved it for me. can somebody help me?

It would say "Java HotSpot(TM) 64-Bit" otherwise. https://issues.jboss.org/browse/AS7-4858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel You can also check for deadlock. Comment 6 Jean-francois Denise 2007-12-06 16:40:10 UTC release60 and trunk have been merged. Posted By JavaFX (0 Comments) 12-11-2016, 07:33 PM in A JavaFX Blog
Contact Us Java Programming Forum Sitemap Top

All times are GMT +2.

Do you have other versions of Java installed? this contact form java - Could not find the main class. Note that I'm using JDK6uN(b08), which could potentially be the culprit. Browse other questions tagged java jconsole or ask your own question.

running just java -jar squirrel-sql.jar as you suggest works up to a point, but it doesn't pick up any database drivers (except JDBC). Format For Printing -XML -Clone This Bug -Top of page First Last Prev Next This bug is not in your last search results. Go oldschool and break out javac if it still doesn't work. have a peek here Program Will Exit By silvia in forum New To Java Replies: 2 Last Post: 09-22-2011, 09:48 PM how to right a program that find kth number in two sorted array?

Just double-click on: squirrel-sql.jar or type: java -jar squirrel-sql.jar in the command-line. more hot questions question feed lang-java about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation more info: I'm on Windows XP pro.

Hello The -cp .

JConsole starting... BTW, why ./squirrel-sql.sh won't work? –Francesco Mantovani Sep 25 at 5:05 add a comment| up vote 7 down vote The classpath is the path that the system will follow when trying I always have to go and look it up. - generally from here. Make sure that sun's jvm is also selected as the default one here.

I think at the same time better to read our FAQ page before posting next. Where can I find it? Somebody voted on my question! Check This Out Is this a bug, that ${java.path} is not set on windows?

Campbell Ritchie Sheriff Posts: 51659 87 posted 6 years ago . . .