Could not find or load main class base

Language: Java

Solution:

This is due to the confusion in the classpath. Use

set CLASSPATH=”<path where java class is present>”

or go to the directory where the java class is present and execute the command,

java<space>-cp<space><dot><space><classname>

Advertisements

Installing, Configuring and Uninstalling Xampp in Ubuntu

Open terminal and execute following commands

for 32 bit
wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-1.8.3-2-installer.run/download

for 64 bit
wget http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.3/xampp-linux-x64-1.8.3-2-installer.run/download

Then, executing the following commands will open the installer wizard

sudo chmod +x xampp-linux-x64-1.8.3-2-installer.run
sudo ./xampp-linux-x64-1.8.3-2-installer.run

Then to start with the projects, you have to change the permission for htdocs folder by

sudo chmod 777 -R /opt/lampp/htdocs

To Start and Stop Xampp,
sudo /opt/lampp/lampp stop
sudo /opt/lampp/lampp start

To get the GUI control panel of Xampp,

sudo /opt/lampp/share/xampp-control-panel/xampp-control-panel.py (make sure you have installed python in your computer to use this)

 

To Uninstall Xampp, use
sudo -i
cd /opt/lampp
./uninstall
exit

How to install MTS datacard in Ubuntu

Go to Terminal and do the following,

    1. Install the packages using the following commands
      • sudo apt-get install wvdial
      • sudo apt-get install usb-modeswitch
      • sudo apt-get install usb-modeswitch-data
    2. Edit the Configuration file using the command
      • sudo gedit /etc/wvdial.conf
    3. Now a file will be opened in gedit. Add the following lines to that file at the end,

      [Dialer mts]
      Stupid Mode = 1
      Inherits = Modem0
      Password = mts
      Username = internet@internet.mtsindia.in
      Phone = #777
      [Modem0]
      Init1 = ATZ
      SetVolume = 0
      Modem = /dev/ttyUSB0
      Baud = 115200
      FlowControl = Hardware (CRTSCTS)
      Dial Command = ATDT

    4. Save the File and close.
    5. Execute the command,
      • sudo wvdial mts
    6. Now the modem will get initialized and an output showing the ip address etc will come.
    7. Leave the terminal opened and use the browser and check the internet

How to install virtual machine using Virtual Box in Ubuntu

  • Download and install Virtual box using Ubuntu Software Center.
  • Download the iso file of the OS that you want to install in the virtual machine.
  • Create the new virtual machine in the Virtual box using new button, specify the requirements that you want for the virtual machine and create it.
  • Then start the new virtual machine for the first time. When it starts it will prompt for the image of the OS that needs to be booted.
  • Browse and select the OS image that you want.
  • Now the virtual machine will start and then we have to install that OS in the same regular way.
  • After installation, you can use that virtual machine like a new one.

Goodbye, Internet Explorer! Firefox for Windows 8 Touch Beta has arrived

If you’ve warmed up to Windows 8′s tiled Modern/Metro user interface, you have a new Web browsing option to play with.
Mozilla announced via an official blog post that it has released Firefox for Windows 8 Touch Beta. This isn’t a standard Firefox browser beta release. This is an app designed for Windows 8′s tiled UI. You can snag the beta by downloading it here.
Firefox for Windows 8 Touch Beta supports touch gestures like swiping and pinch to zoom, as well as full-screen and snap views. You can also share content from the Firefox app using the Windows 8 Share charm.
Considering that this is a beta release, you should expect to encounter bugs and/or other quirks that have yet to be worked out. One of the known bugs you may come across when using Firefox for Windows 8 Touch Beta includes a freezing issue. Mozilla says that if you’re playing a flash video in full-screen mode, putting the Firefox app in the background and then bringing it back to full-screen view will lock up the app. So, don’t do that. If you encounter any bugs while using the app beta, and you feel like reporting them to Mozilla, you can do so here.
The release of the Firefox for Windows 8 Touch Beta likely means that the completed version of the app will hit in the near future.

Eco Friendly robotic lawnmower uses the grass it cuts as fuel

Although we’re still in the dead of winter at this point, spring is fast approaching, which means that in just a few short months, you’ll have to venture outside, blow the dust off your lawnmower, and resume the weekly routine of taming your overgrown grass. For some, this is an enjoyable experience, but for others – like George Mason University graduate student Jason Force – it’s a horribly tedious chore.
Frustrated not only by the tedium of mowing his lawn, but also by the wastefulness of sending grass clippings to a landfill, Force decided to build an easier, greener solution.
His prototype mower — the EcoMow Harvester — is a self-navigating, self-powered robotic lawn mower that runs on nothing more than the grass clippings it collects from your yard. Built onto the body of an electric hobby truck, the mower is equipped with a small biomass gasifier reactor that converts grass pellets into fuel for the mower. When it trims your grass using it’s low-power non-kinetic electrical bar cutter, the clippings are collected and moved into a “pelletizer,” where high temperatures and pressure are then used to form the grass into dry pellets. From there, these pellets are moved to a small gasifier reactor where they’re converted to synthetic gas. This biomass fuel is then filtered, cooled, and mixed with air before it’s used to power the robot’s small engine.
The device, which Force and his team are currently seeking development funding for, is also equipped with an alternator to collect power for the bot’s other onboard electrical systems. With GPS and proximity sensors, the EcoMow prototype is almost completely autonomous, like a Roomba for your yard.

“You tell it where you want it to mow, press go, and it just goes,” Force said in an interview with the university’s newspaper.  ”You have to preload some grass pellets into it at the start, but then the machine makes the pellets all by itself.”

Once the design is complete, users will be able to program the device by simply downloading a property overview from Google Maps. They then select the map, overlay it on a picture of their yard, and then input any additional obstacles the mower might encounter. From there, EcoMow’s internal GPS system will locate roads, sidewalks, driveways and other boundaries.

At this point it’s just a prototype, but many of the toughest technical problems have already been ironed out, and Force and his team have applied for a number of different grants to help move development forward.

Source: http://www.ecomowtech.com/

Salvation through Satya ??

The search for Microsoft’s next CEO is near its end. With Alan Mulally out, and rumors indicating that Stephen Elop is no longer a favorite, a new front-runner has emerged: Satya Nadella.
Though perhaps less well known than other names in the running for the spot,  Nadella is an immensely qualified individual who’s been with the company for years and reportedly received the recommendation of outgoing CEO Steve Ballmer. But what might he do if he does indeed ascend to the throne?

Expanding the cloud
Satya Nadella is currently the head of Microsoft’s Cloud and Enterprise group, and that says a lot about his area of expertise. After starting his career at Sun Microsystems,  Nadella joined Microsoft’s Online Services Division. He has many years of hands-on experience developing new cloud services for the world’s largest technology companies.
Microsoft, of course, has been and continues to be interested in the cloud. The company arguably focuses on enterprise even more so than consumers, and the cloud is an important area of growth in the former. Indeed, it’s so important that it’s in the title of Nadella’s division – “cloud and enterprise group.” Should he become CEO, he may be more concerned with Amazon Web Services than Apple.
That doesn’t mean he’ll ignore consumers. The Xbox One’s dedicated cloud is an example of how cloud services can be leveraged to support products in surprising ways, and we’d likely see more of that under Nadella’s regime. This could bolster the company’s Devices division, which has struggled to compete in every category it’s entered, with the sole exception of game consoles.
Improving consumer services
Besides expanding cloud-connected services, Microsoft must also refine and improve its existing products, most of which struggle to compete. SkyDrive and Office Web Apps aren’t bad, but they’re clearly behind the mind-share of Google Drive, which has become the default storage and productivity option for many consumers.
To combat this, the services offered by Microsoft must be better integrated with its various products. Office Web Apps, for example, could come installed as an app in every version of Windows, and Microsoft must more tightly integrate email and social media notifications into both Windows and Internet Explorer.
Nadella has a background in making similar initiatives successful. The swiftness with which he deployed Windows Azure and its cloud development tools could, if directed towards consumer services, take the company from zero to hero within a few years.

Connections are key
Microsoft’s failure to enhance Windows by leveraging features from other divisions seems puzzling at first glance, but makes sense in light of the company’s famous internal conflicts. Each division jealously guards its secrets for fear that releasing them might make the company a cannibal, eating the revenue of one division to fund another.
This is a huge problem, but Nadella is well equipped to solve it. As the head of the Cloud and Enterprise division, he already works closely with the other three divisions while developing services for Windows, Office and Xbox, so he has strong connections with colleagues across the company.
Since his Cloud and Enterprise Group is relatively new, he’s not connected with the decades-old conflict between Windows and Office. While any internal CEO candidate will inevitably have both friends and enemies within, Nadella’s reputation seems pristine by Redmond’s standards, which might help him execute Steve Ballmer’s vision of reforming Microsoft’s internal structure.

Engineering great software
While it’s arguable that Bill Gates was never among Silicon Valley’s greatest software engineers, his passion gave him a drive and focus that his successor lacked. Ballmer kept the revenue flowing, particularly in the enterprise market, but his grasp of product development was weak and led to the development of half-baked products that a product-focused CEO would’ve never allowed.
Nadella, like Gates, began his career as an engineer, and has a solid understanding of what’s required to develop and deploy new software and services. In his time at Microsoft, he has overseen development of new services like Windows Azure, Office 365 and the latest versions of Microsoft’s SQL Server.
A deeper understanding of the product side would be a boon, as Microsoft has repeatedly misjudged the consumer market in recent years. Nadella’s intimate knowledge of technology, and his background in developing it, would provide him – and thus, the company – with the foresight it lacked under Ballmer’s command.

Guiding the ship (without sinking it)
While many of Nadella’s assets lie within his skill set, there are traits he doesn’t possess which enhance his candidacy. He is not an outsider, a revolutionary, or an entrepreneur. In other words, he isn’t going to rock the boat, which is important.
Microsoft’s board is a conservative group, and any future CEO will have to take command of the company while also assuaging their concerns. An explosive new leader, no matter how charismatic, might meet resistance if he or she challenges the company’s core divisions, something Nadella is unlikely to do.
Microsoft needs a CEO who will guide divisions in the right direction instead of beating them into submission, and Nadella seems to be the right pick for that job. His calm demeanor, expertise and history with the company give him the qualities required to inspire change and cooperation in Redmond’s halls.
Salvation through Satya?
Satya Nadella seems to be one of the best candidates for the top job at Microsoft, and we hope the extensive rumors that he’ll soon receive the nod are true. His diplomatic nature and engineering experience are exactly what’s needed to reform the company into a quicker, more focused machine.