Still having problem with java regex
Hi
I have the following data in a text file:
InstallDate:
Location:
Name: ps1
PortName: IP_192.45.10.200
ServerName:
ShareName:
I want to print out the string after the word "Name: " in this case it would be "ps1"
I ve tried it as follow but it does not seem to work:
Pattern p =Pattern.compile("Name :(\\w*)");
String line = null;
try
BufferedReader in = new BufferedReader(new FileReader("c:\\printerinfo.txt"));
while((line = in.readLine()) != null)
Matcher m = p.matcher(line);
boolean matchFound = m.find();
if(matchFound )
String printName = m.group(1);
System.out.println( printName );
else
System.out.println("line" + line);
catch (Exception e)
System.out.println(e);
Does anyone have a suggestion on how I can get this to work?
thanks
Your line has a type: Pattern p =Pattern.compile("Name: (\\w*)");The space should be after ":", not before it.
This should pick up both Name: ps1 and PortName: something, since you Matcher.find() will find anthing that matches.
To match only from the beginning of the line, use:Pattern p =Pattern.compile("^Name: (\\w*)");
Similar Messages
-
I am still having problems accessing java script sites. Anyone else having this problem?
Javascript can be left on, but Java (which is something very different) should generally be turned off.
Apple barred Java from running on Macs, leaving companies that rely on Java plug-ins out in the cold.
Apple blocked Java 7 Update 11 by adding it to the banned list in XProtect.
This was the second time in two weeks that Apple has blocked Oracle's code from running on Macs. This time Java is blocked through Apple's XProtect anti-malware feature.
Java has come under fire as the means by which hackers have been able to gain control of computers. In April 2012 more than 600,000 Macs were reported to have been infected with a Flashback Trojan horse that was being installed on people's computers with the help of Java exploits. Then in August Macs were again at risk due to a flaw in Java, this time around, there was good news for Mac users: Thanks to changes Apple has made, most of us were safe from the threat.
Unwilling to leave its customers open to potential threats Apple decided it's safer to block Java entirely.
Macs running OS X Snow Leopard and beyond are affected.
UPDATE for those running Lion or Mountain Lion:
Oracle on Friday February 1 released a new version reportedly addressing vulnerabilities seen with the last build.
Apple disabled Java 7 through the OS X XProtect anti-malware system, requiring users to have at least version "1.7.0_10-b19" installed on their Macs. The release dated February 1 carries the designation "1.7.0_13-b20," meeting Apple's requirements.
Oracle "strongly recommends" applying the CPU fixes as soon as possible, saying that the latest Critical Patch Update contains 50 new security fixes across all Jave SE products.
Update foror Snow Leopard users:
Apple have issued update 12 for Java for OS 10.6:
http://support.apple.com/kb/DL1573
Note: On systems that have not already installed Java for Mac OS X 10.6 update 9 or later, this update will configure web browsers to not automatically run Java applets. Java applets may be re-enabled by clicking the region labeled "Inactive plug-in" on a web page. If no applets have been run for an extended period of time, the Java web plug-in will deactivate. -
I had already update mi new factory unlocked iPhone 4S to iOS 5.1.1 and I still having problems with "invalid sim". I'm from Argentina and here we don't have official service. PLEASE HELP ME, WHAT CAN I DO??? In Argentina is too expensive an iPhone 4S. Please I need help to continue believing in Apple. Thanks a lot. If anybody speak spanish better.
Was it purchased from an official Apple Store, not a reseller? Only Apple Stores sell official factory unlocked phones. The others sell hacked to unlock phones, and the unlocking is unstable.
Try these steps, as needed:
1. Reset phone - press both home and on/off buttons for at least 10 seconds until the Apple logo appears.
2. Settings > General > Reset > Reset Network Settings.
3. Replace SIM card (and reset network settings again)
4. Restore Phone in iTunes using a backup
5. Restore in iTunes as new, without using a backup -
I'm frustrated, I am doing everything you recommend, I use only two channels, have plenty of memory in my hard disk, and external hard drive, no effects, and still having problems with Garage band. Giving messages as you ave too many live channels, the disk is slow prepare...can you help?
Quote from: Richard on 15-November-07, 20:33:05
tornado2003,
What you need to do is boot into Safe Mode. Then delete the VGA Drivers.
After that boot normally and install the latest nVidia ForceWare Drivers
Take Care,
Richard
i guess you missed that:
Quote from: tornado2003 on 15-November-07, 17:26:52
ive tryed booting xp in safe mode but it just freezes after it loads up a couple of needed files .
ive even formatted my hard drive and tryed installing a fresh xp on it but it just keeps locking up when it gets to the "starting windows setup" .(this is just after it loads all the drivers from the xp cd) -
I am still having problems with my music videos freezing (all purchased on iTunes) since the update. The first day of the update, no problems...played 6 hours of music videos and no freezing. Today...every single video froze!!! So frustrating! I rebooted, restarted, powered down and no help. I would appreciate any suggestions. Thanks.
I don't know how to do this without using a mouse point.
This may help, http://www.computerhope.com/issues/ch000542.htm
As for question #2, you call tell how iTunes is sorting songs by the up or down arrow next to a header name.
Even the original order that the songs were entered or date added or last played can be sorted.
Much easier with a mouse or touch pad. -
Still having problems with my security questions as they were not the ones I answered and now I'm confused.
Howdy Paul,
If you are having an issue with your Apple ID security questions, you can reset them using the steps in this article -
If you forgot the answers to your Apple ID security questions - Apple Support
Thanks for using Apple Support Communities.
Best,
Brett L -
Our school is having problems with Java.
Our school is having problems with Java. We cannot open our gradebooks which require jnlp or java to open. They worked until January 31 and then quit. I uploaded the Java from oracle but it doesn't open anything it just keeps running. Any ideas?
See Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality. That might be what you need, not Java 7.
-
Still having problems with wireless connections with the new lions os
is anyone else still having problems with there wireless connections on the new lions os? What a poor job apple did
No.
-
Still having ******* problems with downloading apps
Still having ******* problems with downloading apps
I know. Alot of people think that 1.1.2 solved it. Looks like it didn't.
lenn -
Hi everyone ive put up a few posts as regards to my iphone, im still currently having problems with windows recognizing it the usb cord an the itunes logo appears on the phone along with the message on my computer USB Device not Recognized, One of the USB Devices attached to this computer has malfunctioned an Windows does not recognize it "Unknown Device Properties comes up an in the genral properties Device Status box says no drivers are currently installed for this device please help
Put the device in DFU mode (google it) and restore as new.
-
Still having Problems with yamaha USB UX16 midi device can anyone help??
I have setup drivers on my computer which have installed successfully. In logic I have setup environment so Physical input sequenser and keyboard are all connected up in Click and Ports layer.
When I am trying to play keyboard I still have no input or outport signal in transport window I am stuck on what to do??
please can someone help???I take back all I said. After reading reviews of this product, take it back to wherever you bought it and buy something else, anything else, everyone hates this thing, and is having problems with it. get a midisport instead.
http://www.midiman.com/index.php?do=products.list&ID=usbmidiinterfaces
here are a couple of reviews:
Dec 12, 2006 - It is hit or miss as far as compatability goes and you don't know until it is too late if the full instruction set is going to be sent/recieved intact. Tried it on various Macs, PCs and inconsistent in every situation. Yamaha needs to issue a full recall on this POC called the UX-16.
Nov 6, 2004 - The first Yamaha UX 16 that I bought worked okay for a day, then started to cause a buzzing noise. The next day, it was not recognized at all by my laptop. I returned it to the retailer, hoping to find a competitive portable USB/MIDI interface at another store. After failing to find an alternative at the other store, I bought the Yamaha UX16 again, hoping that the first dud was a fluke.
The second UX16 also worked for one day before giving out.
Avoid the UX16.
Apr 12, 2004 - This thing only works for a short period of time then quits being detectable to windows for random periods of time. Totally unreliable. -
Still having problems with images
I am still having problems putting images into an Oracle 9i database and fetching them back out.
I think I have finally managed to force a blob image into the database, but can't seem to get it back out into a byte array.
After many iterations, I have come up with something that might be getting close.
The code is listed below.
Everything has been simplified as much as I can.
The function get_user_picture_func1 returns a single blob for a specified index.
In this case, I have hardcoded the index = 3 and I think there is an image in the database for that index. (it says there are bytes there anyway).
The byte array to store the image is defined outside the method fetchImage().
byte[] imageData;
When I call fetchImage() I get the following exception:
Invalid argument(s) in call: getBytes().
at the line
imageData = picture.getBytes(zro, k);
It looks like getBytes has two parameters, Long offset, int length.
I had diagnostic statements and I confirmed that the statement:
int k = (int)picture.length(); returned k=4198 (the same size as the image).
I am at a loss to understand what the exception is trying to tell me.
I'be been trying to get this to work for a week now and am really getting burned out trying to find anything that works.
void fetchImage()
Blob picture;
String query = "{ ? = call get_user_picture_func1( ? ) }";
try
CallableStatement cs = con.prepareCall( query );
cs.registerOutParameter(1, OracleTypes.BLOB);
cs.setInt(2,3);
cs.execute();
picture = cs.getBlob(1);
if( picture != null)
InputStream in = picture.getBinaryStream();
int k = (int)picture.length();
imageData = new byte[k];
long zro = 0;
imageData = picture.getBytes(zro, k);
catch( Exception e)
}I have been using my iPad mini with keynote to make slide presentations in my classes.There has been no problem until I upgraded to Keynote 5.3. Now the refresh rate on the iPad mini is so slow and out of sync with the projected image that I was forced to not use keynote! I have 2 years of work invested that I will have to toss unless this gets fxed. I have not had this problem with this equipment/files before. Only change was upgrade to keynote 5.3. ( Some details: I connect to the projector with a VGA cable and Apple lightining adaptor to the iPad Mini. All updates current on theiPad Mini.) Yes I did turn on and off all equipment. And I did check all cable connections. Thanks for any help you may give!
-
Still having problems with VPN access
Hello!
I am having problems with my VPN clients getting access to the networks over a MPLS infrastruture. I can reach these resources form my Core network (172.17.1.0/24) and my Wifi (172.17.100.0/24) but not from my VPN network (172.17.200.0/24). From the VPN I can reach the Wifi network (which is behind a router) and the rule that allows that also allows access to the other networks but for some reason it is not working.
When I ping inside the core network from VPN I can connect and get responses. When I ping to the Wifi network, I can get responses and connect to resources there. A tracert to the wifi network shows it hitting the core switch (a 3750 stack) @ 172.17.1.1, then the Wifi router (172.17.1.3) and then the host. A tracert to a resource on the MPLS network from the VPN shows a single entry (the destination host) and then 29 time outs but will not ping that resource nor connect.
I've posted all the info I can think of below. Any help appreciated.
*** Here is a tracert from a core network machine to the resource we need on the MPLS:
C:\Windows\system32>tracert 10.2.0.125
Tracing route to **************** [10.2.0.125]
over a maximum of 30 hops:
1 1 ms <1 ms <1 ms 172.17.1.1
2 1 ms <1 ms <1 ms 172.17.1.10
3 5 ms 5 ms 5 ms 192.168.0.13
4 31 ms 30 ms 31 ms 192.168.0.5
5 29 ms 30 ms 29 ms 192.168.0.6
6 29 ms 29 ms 29 ms 192.168.20.4
7 29 ms 29 ms 29 ms RV-TPA-CRMPROD [10.2.0.125]
Trace complete.
172.17.1.10 is the mpls router.
**** Here is the routing table (sh ip route) from the 3750 @ 172.17.1.1
Gateway of last resort is 172.17.1.2 to network 0.0.0.0
S 192.168.30.0/24 [1/0] via 172.17.1.10
172.17.0.0/24 is subnetted, 3 subnets
S 172.17.200.0 [1/0] via 172.17.1.2
C 172.17.1.0 is directly connected, Vlan20
S 172.17.100.0 [1/0] via 172.17.1.3
172.18.0.0/24 is subnetted, 1 subnets
S 172.18.1.0 [1/0] via 172.17.1.10
S 192.168.11.0/24 [1/0] via 172.17.1.10
10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks
S 10.2.0.0/24 [1/0] via 172.17.1.10
S 10.10.10.0/24 [1/0] via 172.17.1.10
S 10.20.0.0/24 [1/0] via 172.17.1.10
S 10.3.0.128/25 [1/0] via 172.17.1.10
S 192.168.1.0/24 [1/0] via 172.17.1.10
S* 0.0.0.0/0 [1/0] via 172.17.1.2
*** Here is the firewall config (5510):
ASA Version 8.4(1)
hostname RVGW
domain-name ************
enable password b5aqRk/6.KRmypWW encrypted
passwd 1ems91jznlfZHhfU encrypted
names
interface Ethernet0/0
nameif Outside
security-level 10
ip address 5.29.79.10 255.255.255.248
interface Ethernet0/1
nameif Inside
security-level 100
ip address 172.17.1.2 255.255.255.0
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
nameif management
security-level 100
ip address 172.19.1.1 255.255.255.0
management-only
banner login RedV GW
ftp mode passive
dns server-group DefaultDNS
domain-name RedVector.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object network WiFi
subnet 172.17.100.0 255.255.255.0
description WiFi
object network inside-net
subnet 172.17.1.0 255.255.255.0
object network NOSPAM
host 172.17.1.60
object network BH2
host 172.17.1.60
object network EX2
host 172.17.1.61
description Internal Exchange / Outbound SMTP
object network Mail2
host 5.29.79.11
description Ext EX2
object network NETWORK_OBJ_172.17.1.240_28
subnet 172.17.1.240 255.255.255.240
object network NETWORK_OBJ_172.17.200.0_24
subnet 172.17.200.0 255.255.255.0
object network VPN-CLIENT
subnet 172.17.200.0 255.255.255.0
object-group service DM_INLINE_TCP_1 tcp
port-object eq www
port-object eq https
object-group network DM_INLINE_NETWORK_1
network-object object BH2
network-object object NOSPAM
object-group network VPN-CLIENT-PAT-SOURCE
description VPN-CLIENT-PAT-SOURCE
network-object object VPN-CLIENT
object-group network LAN-NETWORKS
network-object 10.10.10.0 255.255.255.0
network-object 10.2.0.0 255.255.255.0
network-object 10.3.0.0 255.255.255.0
network-object 172.17.100.0 255.255.255.0
network-object 172.18.1.0 255.255.255.0
network-object 192.168.1.0 255.255.255.0
network-object 192.168.11.0 255.255.255.0
network-object 192.168.30.0 255.255.255.0
object-group network VPN-POOL
network-object 172.17.200.0 255.255.255.0
object-group protocol DM_INLINE_PROTOCOL_1
protocol-object ip
protocol-object icmp
access-list Outside_access_in extended permit tcp any object-group DM_INLINE_NETWORK_1 eq smtp
access-list Outside_access_in extended permit tcp any object BH2 object-group DM_INLINE_TCP_1
access-list global_mpc extended permit ip any any
access-list Inside_access_in extended permit object-group DM_INLINE_PROTOCOL_1 any any
pager lines 24
logging enable
logging asdm informational
no logging message 106015
no logging message 313001
no logging message 313008
no logging message 106023
no logging message 710003
no logging message 106100
no logging message 302015
no logging message 302014
no logging message 302013
no logging message 302018
no logging message 302017
no logging message 302016
no logging message 302021
no logging message 302020
flow-export destination Inside 172.17.1.52 9996
mtu Outside 1500
mtu Inside 1500
mtu management 1500
ip local pool VPN 172.17.1.240-172.17.1.250 mask 255.255.255.0
ip local pool VPN2 172.17.200.100-172.17.200.200 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
nat (Inside,Outside) source static EX2 Mail2
nat (Inside,Outside) source static any any destination static NETWORK_OBJ_172.17.1.240_28 NETWORK_OBJ_172.17.1.240_28
nat (Inside,Outside) source static any any destination static NETWORK_OBJ_172.17.200.0_24 NETWORK_OBJ_172.17.200.0_24
nat (Inside,Outside) source static inside-net inside-net destination static NETWORK_OBJ_172.17.1.240_28 NETWORK_OBJ_172.17.1.240_28
nat (Inside,Outside) source static LAN-NETWORKS LAN-NETWORKS destination static VPN-POOL VPN-POOL
object network inside-net
nat (Inside,Outside) dynamic interface
object network NOSPAM
nat (Inside,Outside) static 5.29.79.12
nat (Outside,Outside) after-auto source dynamic VPN-CLIENT-PAT-SOURCE interface
access-group Outside_access_in in interface Outside
access-group Inside_access_in in interface Inside
route Outside 0.0.0.0 0.0.0.0 5.29.79.9 1
route Inside 10.2.0.0 255.255.255.0 172.17.1.1 1
route Inside 10.3.0.0 255.255.255.128 172.17.1.1 1
route Inside 10.10.10.0 255.255.255.0 172.17.1.1 1
route Inside 172.17.100.0 255.255.255.0 172.17.1.3 1
route Inside 172.18.1.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.1.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.11.0 255.255.255.0 172.17.1.1 1
route Inside 192.168.30.0 255.255.255.0 172.17.1.1 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
dynamic-access-policy-record DfltAccessPolicy
aaa-server RedVec protocol ldap
aaa-server RedVec (Inside) host 172.17.1.41
ldap-base-dn DC=adrs1,DC=net
ldap-group-base-dn DC=adrs,DC=net
ldap-scope subtree
ldap-naming-attribute sAMAccountName
ldap-login-password *****
ldap-login-dn CN=Hanna\, Roger,OU=Humans,OU=WPLAdministrator,DC=adrs1,DC=net
server-type microsoft
aaa authentication ssh console LOCAL
http server enable
http 192.168.1.0 255.255.255.0 management
http 172.17.1.0 255.255.255.0 Inside
http 24.32.208.223 255.255.255.255 Outside
snmp-server host Inside 172.17.1.52 community *****
snmp-server location Server Room 3010
snmp-server contact Roger Hanna
snmp-server community *****
snmp-server enable traps snmp authentication linkup linkdown coldstart warmstart
crypto ipsec ikev1 transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec ikev1 transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec ikev1 transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set ikev1 transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-192-SHA ESP-AES-192-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 ESP-DES-SHA ESP-DES-MD5
crypto map Outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map Outside_map interface Outside
crypto ikev1 enable Outside
crypto ikev1 policy 10
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
crypto ikev1 policy 30
authentication crack
encryption 3des
hash sha
group 2
lifetime 86400
telnet 172.17.1.0 255.255.255.0 Inside
telnet timeout 5
ssh 172.17.1.0 255.255.255.0 Inside
ssh timeout 5
console timeout 0
dhcpd address 172.17.1.100-172.17.1.200 Inside
dhcpd dns 172.17.1.41 172.17.1.42 interface Inside
dhcpd lease 100000 interface Inside
dhcpd domain adrs1.net interface Inside
threat-detection basic-threat
threat-detection statistics
threat-detection statistics tcp-intercept rate-interval 30 burst-rate 400 average-rate 200
webvpn
group-policy RedV internal
group-policy RedV attributes
wins-server value 172.17.1.41
dns-server value 172.17.1.41 172.17.1.42
vpn-tunnel-protocol ikev1
default-domain value ADRS1.NET
group-policy RedV_1 internal
group-policy RedV_1 attributes
wins-server value 172.17.1.41
dns-server value 172.17.1.41 172.17.1.42
vpn-tunnel-protocol ikev1
split-tunnel-policy tunnelspecified
default-domain value adrs1.net
username rparker password FnbvAdOZxk4r40E5 encrypted privilege 15
username rparker attributes
vpn-group-policy RedV
username mhale password 2reWKpsLC5em3o1P encrypted privilege 0
username mhale attributes
vpn-group-policy RedV
username dcoletto password g53yRiEqpcYkSyYS encrypted privilege 0
username dcoletto attributes
vpn-group-policy RedV
username rhanna password Pd3E3vqnGmV84Ds2 encrypted privilege 15
username rhanna attributes
vpn-group-policy RedV
tunnel-group RedV type remote-access
tunnel-group RedV general-attributes
address-pool VPN2
authentication-server-group RedVec
default-group-policy RedV
tunnel-group RedV ipsec-attributes
ikev1 pre-shared-key *****
class-map global-class
match access-list global_mpc
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
inspect icmp
class global-class
flow-export event-type all destination 172.17.1.52
service-policy global_policy global
prompt hostname context
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email [email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
hpm topN enable
Cryptochecksum:202ad58ba009fb24cbd119ed6d7237a9Hi Roger,
I bet you already checked it, but does the MPLS end router has route to VPN client subnet 172.17.200.x (or default) pointing to core rtr)?
Also, if the MPLS link has any /30 subnet assigned, you may need to include that as well in Object group LAN-NETWORKS.
Thx
MS -
I'm still having problems with XUL Runner - please help am getting desperate!
I recently sought help over a problem I am having with FF. When I try and load it, I get a message telling me that XUL runner 1.9.2.11 is not compatible with 1.9.2.12. The advice I received was to do a clean install. I have done this a number of times - using the Uninstall option in Control Panel as well as running the uninstall utility in the Firefox program folder. Each time I reinstall, and get the same problem. The only difference is that a few days ago I was installing FF 3.6.10, and that gave the error message that XUL runner 1.9.2.11 was not compatible with 1.9.2.10.
I have FF set as my default browser, so when I click on links in e-mails, etc. I get the same failure to load symptoms. However, I found by chance that FF works OK in conjunction with System Mechanic 10 - a maintenance utility I have on my machine. If I select the on-line help option from that Menu, FF loads and runs OK. I can open new tabs and have no problem loading other pages. However, even with FF open, if I click a link in an e-mail, I get the XUL Runner error message.
Although not all symptoms are the same, I am also having problems with IE8. When I run the program it loads, shows a 'connecting' message in the tab header, then closes. If I uninstall FF, then System Mechanic selects IE8 as the default browser, and as with FF, loads OK.
Chrome and Safari both run OK (thankfully). there must be someone out there who knows what this all points to - is that person you?!
Note: Trouble shooting information retrieved using FF when opened with System Mechanic.If you have such problems then you need remove the Firefox program folder before installing a new copy of the full Firefox installer.
It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling. -
Still Having Problems With Applets!!!!
First i'd like to thank all who responded to my last post regarding a downloadable copy of the J2SE API Documentation. I have downloaded it and am quite content.
I am still, however having a problem with my applets (all applets at that). Like i said before. I can view any applets i want through the command prompt using appletviewer. My problem is residing in execution directly through Microsoft Internet Explorer 5.x.
When i open the .html file containing my applet, the file loads in the browser but the applet does nothing. When i mouseover the applet a message is displayed in the browser's status bar stating "loading class. classname: class not found".
I have tried every applet i can get my hands on including downloaded applets from applet resource sites (even the example applets that came with the JDK1.4 when i downloaded it). They all react the same way, but will execute fine with the direct command prompt reference to appletviewer.
It's getting very irritating. I have tries everything including setting the classpath in the command prompt. I'm loosing hope of a solution so if anyone might have an idea of what i need to do to fix my problem, or anything i am doing wrong or haven't done, please give me a hint or help.
I am loving the java language and wish to further my knowledge and farmiliarity with it but i need to make sure everything works.
Sorry for rambling and i thank whoever offers a reply in advance.
ChanceH1. Check the codebase parameter in the html file that calls the applet
for example if you have an applet named MyApplet.class inside a directory applets and your html file outside that directory you should have a codebase like this "applets/".
<applet CODE="MyApplet.class" codebase="applets/" WIDTH=640
HEIGHT=480 ALIGN= center>
</applet>
2. Be sure that your IE support java check the properties and enable the JVM.
3. If your JVM version does not support Java 2, applets build on Java 2 will not work.
Maybe you are looking for
-
I have my iPod touch four since black Friday; November. It's been acting weird lately. It's randomly crashing. On my photos on videos an none of my friends experience that. It's been blacking out and freezing and there is a whole load of battery left
-
JDBC stored procedure not working in Weblogic 12.1.3
Hi, We are migrating from WLS 12.1.2 to 12.1.3. We have a JDBC stored procedure which used to work correctly under 12.1.2. I understand that 12.1.2 uses ojdbc5/ojdbc6 jars (11.2.0.x). After migrating to 12.1.3, the stored procedure is not working. We
-
Launch a java program in a specific tty
Hello, I'm writing a popup program (with Swing) which has to launch popup in every tty where a user is logged in. I succeeded to get the list of tty where my user is logged in but i don't know how to show my popup (JOptionPane.showMessageDialog(...))
-
how to use "doget", any example for me reference. if i would like to pass the variable by querystring, can i add the variable in URL like this: go home but how can i get the ID in query string in home.jsp???
-
Hi, I have developed a PDF form to collect details from users. the form works as expected. I rendered the file and tried giving some inputs and saving the file. once i hit the save button, i observe the display settings are not working as expected. f