How to change JVM options from a running JVM
Hello, I have to launch a remote application on my machine. I managed to do that with code that invokes the main method of the application I want to execute. What I do is to launch an instance of the class containing main function, here is an extract of the code:
Object obj = ....; //obj is the class containg main, for instance MyClass
java.lan.reflect.Method m = .....; //m is the main method
Object result = m.invoke(obj, args);This works, the main method gets called and so the application starts. Of course, the main method is called from a jar built in the right way.
But the way the main method gets called is like doing
java MyClassNow I have the problem to launch this application with some options to java command (these options are about remote debugging with JDI ).
In other words, what I would like to dis the following, if I could do it from command line:
java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket myApp.jar (myApp.jar is on a remote host)
while all that I'm able to do is
java myApp.jarOf course I want to do it from my java code, not from command line.
Thank you
It isn't possible as stated.
You must change the way that you are launching the VM. Either by providing options or by providing a different way to launch it.
Similar Messages
-
HT201303 How to change payment option from c/c to. None
My account say I have to verify my payment option and I no longer have
A credit card how to I change it. It won't let me down load any apps till
I verify it pls helpSharadha,
You are correct, however we have already defined payment method for each country, but the payment option is still shown in the webdynpro application. I think the cash option is hard-coded in function module HR_PAYMENTMETHOD_SEARCH (see below)
insert paymentmethod 'cash' into valuetable "XPVPH9K009763
if sy-subrc = 0. "XPVPH9K009763
if l_flag_requ ne 'X'. "QICN0214899
L_VALUETAB-ZLSCH = ' '. "XPVPH9K009763
L_VALUETAB-TEXT1 = TEXT-CSH. "XPVPH9K009763
insert L_VALUETAB index 1. "XPVPH9K009763
endif. "QICN0214899
endif. "XPVPH9K009763
Thanks,
Rose -
I can't change info (options) from Music to AudioBook
When I record an audiobook it is recorded under music. Once it is recorded I was always able to change the options from Music to Audiobook by using 'Get Info' options. I can do this with some CD's but not others. Also if an Audiobook has 5 CDs I used to be able to change all 5 at one time from Music to Audiobook. Now this doesn't work at all. I was running Itunes 10 on Windows 7 but now am running Itunes 11 on Windows 8. I don't know if it's the itunes verson or the platform. Anyone out there know how to force this change?
Thanks,
VickiCheck to see if iMessage is activated. Also, make sure the other party has iMessage activated. Sending an iMessage requires both parties, the sender and the receiver to have an active internet connection. If iMessage is active, the check your Send & Receive and make sure your phone number is checked. After that, you may need to delete the conversation that you have with that contact, however I've not experienced that when I have an individual send problem with a contact. It will usually pick up that they are connected to data again.
-
HT1311 how to change the payment from visa to none payment iPhone 4S
how to change the payment from visa to none payment
iPhone 4Smartinimartini wrote:
I have the same problem. I used Pay Pal payment before but Pay Pal limited my account so I can only use Pay Pal until after 180 days according to their specific regulations. I also do not have any credit card. How am I supposed to pay for my Skype that I have been using since start of Skype. I really need outgoing calls. Martin
Hi,
As I understand you have a restriction on your PayPal account, unfortunately this is something Skype can't help you with.
But you can try alternative payment methods: www.skype.com/intl/en-us/prices/ways-to-pay/
Another option is to let your friend set up Skype Manager account, purchase credit there and allocate it to you: https://support.skype.com/en-us/faq/FA10519/What-is-Skype-Manager-and-how-does-it-work
Andre
If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance! -
How to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
how to change web server from inbuilt Tomcat to IIS in already configured Cold Fusion 10
You just need to run the Web Server Configuration Tool to connect ColdFusion to IIS. It can be found in the ColdFusion program group off of the Start menu. Be sure to run it "As Administrator".
-Carl V. -
How to change mobile network from At&t to verizon
how to change mobile network from At&t to verizon
What exactly are you trying to do?
You can't "change the mobile network"?
What device model number do you have?
Has it worked previously? -
How to change a photo from 32 bit mode to 16/8 bit mod in Photoshop cs6?
How to change a photo from 32 bit mode to 16/8 bit mod in Photoshop cs6?
I tried to go to Image- Mod but i cant press on Mod button..
I saw to late that i cant save the image i created with 32bit mode.
Please help..In the image menu, goto the mode sub menu, then choose 8 or 16 bit.
-
How to change apple ID from U.S to Asia when i still have credit on my U.S
how to change apple ID from U.S to Asia when i still have credit on my U.S
You're going to find that answer from Apple Support. Choose iTunes in Apple Support.
Apple Support
http://www.apple.com/support/ -
How do i stop programs from automatically running when i start up my macbook?
how do i stop programs from automatically running when i start up my macbook?
programs such as.. email and Skype.
When i go to system preferences, then users & groups, then to my name, log in items ....this box is clear, i have unchecked everything, yet things still start up......sometimes these applications will have a setting in the preferences to not open on login of computer. If you see none of that, you can go into:
system preferences> Users & Groups > Select your user>Login Items.
unlock the settings by hitting the lock icon on the bottom left of the window then youll be able to uncheck these things from opening when you log in.
Hope this is helpful or answers the question. -
How to change my subscription from "CC single-app Photoshop" plan to "Photoshop Photography" plan
How to change my subscription from "Creative Cloud single-app membership for Photoshop (one-year)" plan to "Photoshop Photography" plan after purchase already and overlap?
I waiting Live Chat about 2 hours and my thread not any support help to me or feedback.
Why! -
How to remove "Delegate" option from Reassign Popup page in task details
Hi
I'm using SOA 11g and Jdev 11.1.1.3 for the development. I created a Human task and using the Reassign functionality. From the BPM Worklist, When I click the Reassign in the Actions menu, a popup for Reassign task is displayed. In this popup, I have two options -
1) Reassign (transfer task to another user or group) and
2) Delegate (allow specfied user to act on my behalf)
Functionality of option 1 is working fine. But I do not want to show the option 2 in the popup page.
I tried to find the popup JSPX page and tried to find for any edit options from the BPM Worklist screen, but no luck.
Can anyone throw some light on how I can achieve this.
Thanks,
Udaya NeeliahgariHello,
create a new permission level. Copy the "Contribute" permission level and call it "Contribute no Delete". Edit the new permission level and untick the "Delete" box in the List Permissions section.
The next step depends on whether you want this to be site-wide or just for a particular library.
Go to the Approval Task list and click List Permissions in the List ribbon.
Select to break permission inheritance.
Then select the Sharepoint group that normally has "Contribute" permissions and change the permissions to "Contribute no Delete". To do that, tick the tick box for the group and use the ribbon command to edit permissions for the selection.
cheers, teylyn -
How to change data format from MM/DD/YYYY to DD/MM/YYYY
HI,
How can we change data format from MM/DD/YYYY to DD/MM/YYYY in Prompt and Report Level in obiee 11g.
Please help me ont this.
ThanksHi,
In Prompt:
Try using EVALUATE function.
Eg: Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'DD-MON-YYYY')
Report level:
Try this in the column formula-
Evaluate('TO_CHAR(%1,%2)' as character(30),"D5.Times"."Day Date",'MM/DD/YYYY')
(or)
EVALUATE('TO_CHAR(%1,%2)' AS CHARACTER ( 30 ), "Dim- Date".Start Date, 'MON-YY')
http://108obiee.blogspot.in/2009/03/how-to-change-date-format-mask-in-date.html
http://obiee-bip.blogspot.in/2011/08/customizing-obiee-calendar-display.html
Some other methods.
Metdhod 1:
'Save System-Wide Column Formats' Option
Check this.
http://siebel-essentials.blogspot.com/2010/10/11-obiee-11g-tips-9-system-wide.html?m=1
Thanks
satya -
How to change the value from one input control to another input control?
Hi Experts,
I want to change the value from one input control to another input control. For Example if i change month in first tab. it should reflect in second tab also. How should we acheive through input control or some other option.
Here I attached screen shot.Please help me for thisHi,
It is not possible to have Input controll in all tabs that will be set from another .
But There is one workaround .
Follow the link below .
http://davidlai101.com/blog/2013/08/13/web-intelligence-input-control-that-affects-all-tabs/ -
HOW TO CHANGE ACCOUNT TYPE FROM IMAP TO POP
HOW TO CHANGE ACCOUNT TYPE IN YOUR EMAIL FROM IMAP TO POP
You can't. You need to create a new account in Mail.
Note, when setting up a new account (after clicking the '+' in the Accounts proeference), enter an invalid email address or option click the Continue button to be given the choice of account type (POP or IMAP). -
How to remove Sorting options from Report's Column Headers.
Hi All,
When i try to run a Query in Enterprise Portal, I'm getting a " Sorting option" in each column. Thats not needed in a Report.
Kindly suggest me How to remove that Sorting options from Each colum header.
Thanks in Advance.
Regards,
Jayaprakash Jayachandran.hi,
U can uncheck the sorting option in Navigation Pane,which will remove all sorting options.
Regards,
aanand -
How to change domain name from "LocalHost" to ipaddress in Jdeveloper?
Hi
When i run any application from JDeveloper, the page opening with the URL keeping "*LocalHost*" as a domain name,
eg: http://*localhost*:7101/Testing/faces/index.jsf
How can i change the domain name from "localHost" to my system's ipaddress. So that whenever i execute the page, the page should open with the ipaddress and not with "localhost", like http://*10.34.65.175*:7101/Testing/faces/index.jsf
Regards
RajThank you Timo.
I changed domain name from "localhost" to ipaddress as you said, after that the server stopped working. Unable to run any application.
Then I changed it back to "localhost" and its working fine.
I am doing it for 2 reasons,
1) With localhost as domain name, I am unable to open ADF mobile browser application in Android emulator.
2) Unable to do remote debugging. Hope this could be the reason.
Regards
Raj
Maybe you are looking for
-
This does not appear to be a system issue, but rather a functional aspect of the browser windows. E.g., if I have 7 browser windows open to different sites... and all are Minimized, and I decide to open one to study, THEY ALL POP OPEN automatically.
-
How do i import contacts from one mail program to another
We just purchased a laptop and are trying to get the contacts from the desktop to the new laptop. We were able to transfer all the emails but are having trouble with the contacts. We are using Mail as our program
-
System crashes - I don't what else can I try...
I have a Macbook Pro, 2.53Ghz, 250Gb and 4Mb - Lion (recently updated) and I have been having several crashes and I can figure out what is causing it, here is a short description of what I have already tried (based on several readings on other thread
-
How to change the text of the standard ALV button?
Hallo everybody, WebDynpro ALV has its own buttons e.g. Export, Is it possible to change the text "Export" as own text 'SaveInExcel' ? Many thanks, Meer
-
MOVED: MSI vr330x vga problem
This topic has been moved to MSI Notebook. https://forum-en.msi.com/index.php?topic=144982.0