Using However Correctly

We must always insert a semi-colon before and a comma after however to connect two independent clauses. Incorrect:    Japan was an expanding giant however it could not generate enough capital [...]