i have jar file which contains file with main method. I am running that main class with batch file (as some parameters are being set over there) I want to remote debug the program from eclipse. I am not getting how to proceed ?
44602
I know there's some JAVA_OPTS to set to remotely debug a Java program.  What are they and what do they mean ?
30969
I want to create an ini file to store some settings for my application. Is it a good idea to find where the jar file is located and create an ini file there? If yes, then how can I find the location of the jar file?   But if you know a better solution for something like this, I would like to hear some of them.  EDIT: I'm using mac and I want to run the same application in windows. I could write something in the System.getProperty("user.home") directory, but I want to keep the system clean, if the user decides to remove the app. There is no a better way to store the settings file, for example in the same directory with the application?
44984
Is there any way to debug bash script without using echo and logging?  I'm talking about using breakpoints and stuff like that.
50216
Does any one know how do I get the current open windows or process of a local machine using Java?    What I'm trying to do is: list the current open task, windows or process open, like in  Windows Taskmanager, but using a multi-platform approach - using only Java if it's possible.
77819
Using Eclipse I want to view the source code for a core Java class (E.g. java.util.concurrent.ConcurrentHashMap) but when I navigate to the source using 'Open Declaration' it says 'Source not found' and gives me the option to attach the source.  My question is; how do i attach the source? Where do i get the source .jar from for the java.util.concurrent library?
2245
In my Java application, I want to run a batch file that calls "scons -Q implicit-deps-changed build\file_load_type export\file_load_type"  It seems that I can't even get my batch file to execute. I'm out of ideas.   This is what I have in Java:  Runtime.    getRuntime().    exec("build.bat", null, new File("."));   Previously, I had a Python Sconscript file that I wanted to run but since that didn't work I decided I would call the script via a batch file but that method has not been successful as of yet.
58659
This is a batch file in Windows.  Here is my .bat file          @echo off copy "C:\Remoting.config-Training" "C:\Remoting.config"  "C:\ThirdParty.exe"   This works fine except the .bat file leaves the command window open the whole time the "ThirdParty" application is running. I need the command window to close.   I would use the short-cut for the application but I must be able to run this copy command first (it actually changes which data base and server to use for the application).    The ThirdParty application does not allow the user to change the source of the db or the application server.    We're doing this to allow users to change from a test environment to the production environment.
102184
Does anyone know of a free decompiler that can decompile an entire Jar file instead of a single class? I have a problem with sub classes like name$1.class name$2.class name.class
104361
I have a test class which calls a method from a helper class :  @isTest private class OpportunityCheckTest {      private CheckTestHelper helper = new CheckTestHelper();      @isTest     static void checkTest() {          helper.incrementCount();  &lt;-- ERROR INDICATES THIS LINE      } }   At the moment when I try to save my file, I'm getting the following error:  Result: [DEPLOYMENT FAILED]: OpportunityCheckTest.cls: Variable does not exist: helper     Can anyone explain what the problem is here?
87829
I have a batch file that builds an application, and then I want to upload it to an FTP server from the command line.   Considering I do the upload manually with , is there a command line for it to upload files?  I am limited to Windows.
19218
How do I execute a command-line program from C# and get back the STD OUT results? Specifically, I want to execute DIFF on two files that are programmatically selected and write the results to a text box.
38901
Are there any plugins/tools available to go through the classpath of an eclipse project (or workspace) and highlight any unused jars?
43715
Is it possible to remotely debug a process started outside VB6?  The application is a VB6 application with quite a few dll/ocx resources. I am attempting to setup a ClickOnce deployment, using Registration-Free COM, of the VB6 app but have been getting errors when it executes.  My understanding of the way that VB6 redirects COM registerations will probably mean that this is not possible but I thought someone might have a better idea.
28780
I'm looking for a tool or method to find out what command line parameters have been passed to a program, for example when it was run by another program (launcher-application scenario).
4756
Normally to attach a debuger to a running jvm you would need start the jvm with arguments such as the following:  &gt; java -Xdebug -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n   Now if I want to debug a process that wasn't started in debug mode, what can I do?  This situation arrises when a production system (i.e. started without debug args) exhibits a 'random' (I use the term loosely) bug. So I can't restart the jvm with the appropriate arguments, because nobody knows how to reproduce the bug again. Is it impossible to attach to the JVM in this situation?  Just to clarify it is not possible to use tools like jdb to attach to already running JVMs unless they were started in debug mode  from the JVM man page     Another way to use jdb is by attaching it to a Java VM that is   already running. A VM that is to be   debugged with jdb must be started with   the following options:
97172
Hi i am trying to write script for display list of records from wrapper class.   @remoteaction     public static wrappercls getaccounts(){         string account = 'select id,name,accountnumber from account';         listacc = database.query(account);         count = listacc.size();         system.debug('#####'+count);         wrappercls wra = new wrappercls(count,listacc);         return wra;     }      public class wrappercls{         public integer count11;         public list&lt;account&gt; account;          public wrappercls(integer count11,list&lt;account&gt; account){             this.count11 = count11;             this.account = account;         }     }    This class returns list of account records and record count parameter.Need to display these records in page.Is it possible if possible Please help me on this..  Script  &lt;script&gt;   function getallaccounts(){     exremote.getaccounts(         function(result,event){             if(event.status){              }             else {              }        },{escape:true}     ); } &lt;/script&gt;   Thanks in Advance...
63740
I use the Eclipse IDE to develop, compile, and run my Java projects. Today, I'm trying to use the java.io.Console class to manage output and, more importantly, user input.  The problem is that System.console() returns null when an application is run "through" Eclipse. Eclipse run the program on a background process, rather than a top-level process with the console window we're familiar with.  Is there a way to force Eclipse to run the program as a top level process, or at least create a Console that the JVM will recognize? Otherwise, I'm forced to jar the project up and run on a command-line environment external to Eclipse.