Question: We have a Feature Layer having styling with a symbol using some font create by us.
But we need to apply Labels on this following is the result we expected from this:-

![Result From Other tool](https://i.stack.imgur.com/hkMDd.png)

and following is the result we have achieve with the `AnchorPoint` ,`Displacement` and `Rotation` :-

![Result from geotools](https://i.stack.imgur.com/blhNp.png)

Code For Label Style:-

```
Rule rule = styleFactory.createRule();
TextSymbolizer textsym = Styling.styleFactory.createTextSymbolizer();
textsym.setLabel(Styling.filterFactory.property("ColumnName"));
StyleBuilder sb = new StyleBuilder();
textsym.setFill(sb.createFill(Color.black));
AnchorPoint anchorPoint = sb.createAnchorPoint(sb.attributeExpression("the_geom"),
        sb.attributeExpression("the_geom"));
Displacement displacement = sb.createDisplacement(filterFactory.literal(10), filterFactory.literal(4));
PointPlacement pointPlacement = sb.createPointPlacement(anchorPoint,displacement,filterFactory.property("RotationColumn"));
textsym.setLabelPlacement(pointPlacement);  
rule.symbolizers().add(textsym);

```

Answer: 
You only have to run: 

```
$ ./gvSIG-desktop-2.3.1-2501-final-lin_ubuntu_16.04-x86_64-standard.run

```

without `sh`, because it's not a shell script but a binary. 

Running the programme also dispenses the `sh`:

```
$ /path/to/install/folder/gvSIG.sh

```
If you don't know you have a portable version. Very useful if you have problems with the installation.