Question about Computers & Internet

1 Answer

Java Hi experts, I have a question. Is it possible to set (change/edit) the system time and date by coding in java? I think it's not possible (80%) but maybe experts might have an answer - I suppose

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Sergeant:

    An expert that has over 500 points.

  • Expert
  • 213 Answers

Look into using the Process class to execute a command you might use on the command line (DATE in your case). Small tutorial that you can use to get you started is at: http://java.sun.com/developer/JDCTec.../tt0304.html#1

You'll probably have to run this command with administrator privileges...not too familiar with Windows.

On a side note, if you use this approach, the example doesn't close any of the streams that were opened to read the output of the command issued. You should do this to avoid unwanted resource consumption.
golu_fixya
thanks

Posted on Oct 14, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

My question is about the abode flash player, the plug in is telling me it is vulnerable and should be updated now.


never up date for any site when then tell you you need an update go to abode.com and update from them only

Feb 01, 2015 | Computers & Internet

2 Answers

What is the solution to error code 0x80072f8f which occured during window activation?


Try this one.

  1. Click the Start Collapse this image Expand this imagevistastartbutton.jpg, type timedate.cpl in the Start Search box, and then click Timedate.cpl on the programs list.
  2. On the Date and Time tab, make sure that the computer's date and time are correct. If the settings are incorrect, click Change date and time.

    Collapse this image Expand this imagesecurityshield.jpgIf you are prompted for an administrator password or confirmation, type the password, or provide confirmation.
  3. In the Date and Time dialog box, use the following procedures:
    • To change the date

      Under Date, click the left or right arrows to find the current month in the calendar, and then click the current date.
    • To change the time

      Under Time, double-click the hour, minutes, or seconds that you want to change, and then click the arrows to increase or decrease the value.
  4. When you finish changing the date and time settings, click OK.
  5. Try to install updates again.

May 20, 2011 | Microsoft Windows Vista Ultimate Edition

2 Answers

Somehow java was uninstalled from my pc, when i try to reinstall i get an error 2318


Are you actually using the Java Desktop, on a Solaris box, or did you see a note that something can't find the jdk or java?  In the latter case, just go to Java.com ...in the former, I think maybe you ran short of the 5GB free space install baseline, but you can check Google and the Sun forums to get some better clues if your manuals seem dry of relevance.

Nov 14, 2009 | Sun Java Desktop System

1 Answer

Java coding to deduct virus


visual basic 6.0 plese example timer uses

Mar 25, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

Java will not download on windows xp mozilla firefox


hi try downloading this free cleaner

http://www.filehippo.com/download_ccleaner/download/86e6a458e780243c3a944b66ec60b319/
install it run it reboot then try installing java

hope i was helpfull

good luck

Mar 21, 2009 | Microsoft Windows Vista Business Edition...

1 Answer

Disabling the adjustments of Date & time??


Hi there.
This is the best i can remember about Win98
In Win98, rename the timedate.cpl to _timedate.cpl from your system folder and open command.com in a hex editor and go to the location that is on or around 0x010b36. there you will see a table of DOS commands.
simply rename "time" (and/or "date") to something else (as long as it's exactly 4 characters long!). then bring up a new DOS window and you will see that it only accepts your new command for changing the time and date.
This method, in combination with (renaming timedate.cpl), and
making sure that your BIOS settings are password protected, should prevent virtually anyone who is a non-guru from changing the system time.

Good luck and thanks for using FixYa!!

Mar 04, 2009 | Microsoft Windows 98 Second Edition for PC

3 Answers

What is servlets?


Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems. A servlet can almost be thought of as an applet that runs on the server side--without a face. Java servlets make many Web applications possible.  » Read More The reference implementation is included in the Java EE 5 SDK and also in the open-source Java Platform, Enterprise Edition (Java EE) application server, available through the GlassFish project, which you can download from java.net. The reference implementation source code is available from the servlet-sources project on java.net.

Dec 29, 2008 | Microsoft Windows Vista Ultimate Edition

1 Answer

Java programming


There are 2000 jpeg libraries in Java out there, easily searchable on search engines, sourceforge, maybe versiontracker, and secondly, you're asking for (what should be application-specific -output-; why would you hobble input) crop/resize without hinting at your algorithm? First, get a real programmer....

Java project for college applications? Gee, how about one to take a personality inventory (the INTJ type; only padded out) including areas of interest and make people little public/private spot codes (2D barcodes, like the ones in Japanese magazines) to indicate their type. The camera in a cellphone with J2ME can read the codes, maybe.... The cool part is that they're coupled with either P3P in wikis or java applets that help communicate with that person if you're an type that would otherwise take bothersome human care and preface to communicate.
There are all kinds of little systems you can build to thwart the draggy bits of Alzheimers' etc. with various little expert systems, that come up when you read a science journal (Nature, Science, Dr. Dobb's Journal, JAMA, JVNA....
You could invent something other than big-headed anime characters to add a personal visual reference to GUIs; emobots were cool, but maybe you can have a **** Cheney's Hands IM environment if it doesn't already exist (see also: Galludet University (for deaf students) stuff.)

Mar 20, 2008 | Computers & Internet

6 Answers

Java (TM) Plug-in fatal error


To view this page curectly intall java virtual machine pc destop of window xp operative system.

Mar 16, 2008 | Dell Microsoft Windows XP Home Edition

3 Answers

Erroe code 80072f8f


Double-check your date/time and make sure the year is set correctly. If you're "sure" that it is all correct, you will need to provide more information regarding the symptoms of your problem.

If all else fails, try a startup repair:

http://windowshelp.microsoft.com/Windows/en-US/Help/5c59f8c1-b0d1-4f1a-af55-74f3922f3f351033.mspx

or a sytem restore:

http://vistasupport.mvps.org/windows_vista_repair_options.htm

Feb 17, 2008 | Microsoft Windows Vista Ultimate Edition

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

91 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

kakima

Level 3 Expert

98879 Answers

David Payne
David Payne

Level 3 Expert

14089 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...