Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 11
Member Avatar for sirin_adam

Hello! Here and example that we can add manually a path on windows: [url]http://1.bp.blogspot.com/_NtoTtHZadHE/S0SLPiJo-2I/AAAAAAAAAIg/GyoW0pPEW-g/s400/qt-mobility-windows-env-path.png[/url] I need to add new path on the system (or user (it does not matter) ) from my Java program (no problem if my java program must start with administrator privilages). Thank you!

Member Avatar for NormR1
0
152
Member Avatar for sirin_adam

Hello! [CODE]public static void main(String[] args) { System.out.println("Type the operation system (Windows or Linux):"); Scanner oku= new Scanner(System.in); String os=oku.next(); if(os=="Windows") { CreateForWindows(); } if(os=="Linux") { CreateForLinux(); } else { System.out.println("Wrong selection. Program closed."); return; } return;[/CODE] It always show me Wrong selection. Program closed. I can not understand why …

Member Avatar for sirin_adam
0
167
Member Avatar for sirin_adam

Hello! I have write a program on Java. This Java program creates a file which have C code for Windows. I need to compile everytime this C code by copying it to another IDE. Can i do this compile process from java program? (C code is very simple and it …

Member Avatar for sirin_adam
0
206
Member Avatar for sirin_adam

Hello! I need to read from a txt file ip:port (or in some lines ip:portDdateCinteger). But i can not do it because there is no nextChar method on Scanner class. The txt file is like this: 332.234.32.11.11.222:8080 123.32.45.43.32.11:8976D12.01.2010C5 44.44.111.114.44.43:220 222.333.44.55.66.77:8089 111.11.11.11.22.33:8080D01.01.2009C1 ... There are million line on txt file. I …

Member Avatar for sirin_adam
0
838